* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.security.authorization;
import javax.persistence.DiscriminatorColumn;
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "TYPE")
public abstract class AbstractAuthorizationRule implements AuthorizationRule {
-
+
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@Version
private int version;
-
- public AbstractAuthorizationRule() {
+
+ public AbstractAuthorizationRule() {
// Empty
}
-
- public AbstractAuthorizationRule(AbstractAuthorizationRule aRule) {
+
+ public AbstractAuthorizationRule(AbstractAuthorizationRule aRule) {
id = aRule.id;
version = aRule.version;
}