Package org.openiam.am.srvc.dto.jdbc
Class AbstractAuthorizationRight<T extends AbstractAuthorizationEntity>
- java.lang.Object
-
- org.openiam.am.srvc.dto.jdbc.AbstractAuthorizationRight<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GroupAuthorizationRight,OrganizationAuthorizationRight,ResourceAuthorizationRight,RoleAuthorizationRight,UserAuthorizationRight
public abstract class AbstractAuthorizationRight<T extends AbstractAuthorizationEntity> extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractAuthorizationRight()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddRight(AuthorizationAccessRight right)booleanequals(Object obj)abstract TgetEntity()static AbstractAuthorizationRightgetInstance(Class<? extends AbstractAuthorizationRight> clazz)inthashCode()The hashcode and equals method should ONLY have theentityThe actual identity of the object is based solely on this.abstract voidsetEntity(T entity)
-
-
-
Method Detail
-
addRight
public void addRight(AuthorizationAccessRight right)
-
getEntity
public abstract T getEntity()
-
setEntity
public abstract void setEntity(T entity)
-
getInstance
public static AbstractAuthorizationRight getInstance(Class<? extends AbstractAuthorizationRight> clazz)
-
hashCode
public int hashCode()
The hashcode and equals method should ONLY have theentityThe actual identity of the object is based solely on this. Therightsshould NOT be part of hashcode/equals
-
-