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 void
addRight(AuthorizationAccessRight right)
boolean
equals(Object obj)
abstract T
getEntity()
static AbstractAuthorizationRight
getInstance(Class<? extends AbstractAuthorizationRight> clazz)
int
hashCode()
The hashcode and equals method should ONLY have theentity
The actual identity of the object is based solely on this.abstract void
setEntity(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 theentity
The actual identity of the object is based solely on this. Therights
should NOT be part of hashcode/equals
-
-