public class GroupIdentity extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
__SEPARATOR
The separator between the id and the group directory id for the string representation of a group identity
|
private String |
_directoryId
The id of the group directory the group belongs to
|
private String |
_id
The id of the group
|
Constructor and Description |
---|
GroupIdentity(String id,
String directoryId)
Constructs a group identity
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDirectoryId()
GetGet the group directory the group belongs to
|
String |
getId()
Get the if of the group
|
static String |
groupIdentityToString(GroupIdentity groupIdentity)
Gets a string representation of a
GroupIdentity |
int |
hashCode() |
static GroupIdentity |
stringToGroupIdentity(String string)
Returns the
GroupIdentity from its string representation |
String |
toString() |
private static final String __SEPARATOR
private String _directoryId
public GroupIdentity(String id, String directoryId)
id
- The id of the groupdirectoryId
- The id of the group directory the group belongs topublic static String groupIdentityToString(GroupIdentity groupIdentity)
GroupIdentity
groupIdentity
- The group identitypublic static GroupIdentity stringToGroupIdentity(String string)
GroupIdentity
from its string representationstring
- The string representation of the group identitypublic String getDirectoryId()