Class Entity
- java.lang.Object
-
- technology.openpool.ldap.adapter.api.entity.Entity
-
- All Implemented Interfaces:
Row
- Direct Known Subclasses:
DomainEntity,GroupEntity,MembershipEntity,UnitEntity,UserEntity
public abstract class Entity extends Object implements Row
The parent class fo all entities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T> Tapply(String columnName, Class<T> clazz)Gets an entity value by column name.booleanequals(Object that)protected abstract ObjectfindColumn(String columnName)abstract EntityTypegetEntityType()Gets the entity type.StringgetId()Gets the entity ID.inthashCode()
-
-
-
Constructor Detail
-
Entity
public Entity(String id)
Instantiates a new Group.- Parameters:
id- the id of this object
-
-
Method Detail
-
getId
public String getId()
Gets the entity ID.- Returns:
- the ID
-
getEntityType
public abstract EntityType getEntityType()
Gets the entity type.- Returns:
- the entity type
-
-