Class UserEntity
- java.lang.Object
-
- technology.openpool.ldap.adapter.api.entity.Entity
-
- technology.openpool.ldap.adapter.api.entity.UserEntity
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectfindColumn(String columnName)StringgetDisplayName()Gets display name.StringgetEmail()Gets email.EntityTypegetEntityType()Gets the entity type.StringgetFirstName()Gets first name.StringgetLastName()Gets last name.StringgetUsername()Gets username.booleanisActive()Check if user is active.
-
-
-
Constructor Detail
-
UserEntity
public UserEntity(String username, String lastName, String firstName, String displayName, String email, boolean active)
Instantiates a new User.- Parameters:
username- the usernamelastName- the last namefirstName- the first namedisplayName- the display nameemail- the emailactive- the active flag
-
-
Method Detail
-
getUsername
public String getUsername()
Gets username.- Returns:
- the username
-
getLastName
public String getLastName()
Gets last name.- Returns:
- the last name
-
getFirstName
public String getFirstName()
Gets first name.- Returns:
- the first name
-
getDisplayName
public String getDisplayName()
Gets display name.- Returns:
- the display name
-
getEmail
public String getEmail()
Gets email.- Returns:
- the email
-
isActive
public boolean isActive()
Check if user is active.- Returns:
- the boolean
-
getEntityType
public EntityType getEntityType()
Gets the entity type.- Specified by:
getEntityTypein classEntity- Returns:
- the entity type
-
findColumn
protected Object findColumn(String columnName)
- Specified by:
findColumnin classEntity
-
-