Package com.saperion.users
Class UserNameIdPair
java.lang.Object
com.saperion.users.UserNameIdPair
- All Implemented Interfaces:
Serializable
A simple class that holds the two unique identifiers of a user administration entity.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BIT_MASK_USER
public static final int BIT_MASK_USER- See Also:
-
BIT_MASK_TENANT
public static final int BIT_MASK_TENANT- See Also:
-
BIT_MASK_GROUP
public static final int BIT_MASK_GROUP- See Also:
-
BIT_MASK_ROLE
public static final int BIT_MASK_ROLE- See Also:
-
BIT_MASK_LOCATION
public static final int BIT_MASK_LOCATION- See Also:
-
BIT_MASK_VALID_FIELDS
public static final int BIT_MASK_VALID_FIELDS- See Also:
-
-
Constructor Details
-
UserNameIdPair
-
-
Method Details
-
getId
public int getId()- Returns:
- The entities id
-
getFullName
- Returns:
- The entities full name
-
isGroup
public boolean isGroup()- Returns:
- Whether the entity is a group.
-
isUser
public boolean isUser()- Returns:
- Whether the entity is a user.
-
isTenant
public boolean isTenant()- Returns:
- Whether the entity is a tenant.
-
isRole
public boolean isRole()- Returns:
- Whether the entity is a role.
-
isLocation
public boolean isLocation()- Returns:
- Whether the entity is a location.
-
toString
-
equals
-
hashCode
public int hashCode()
-