public class Group
extends java.lang.Object
Constructor and Description |
---|
Group(java.lang.String id,
java.lang.String name)
Constructs a
Group with all required attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Returns the unique identifier for the group.
|
java.lang.String |
getName()
Returns the name of the group for display.
|
java.lang.String |
getParentGroupId()
Returns the unique identifier for the group's parent group, or null if the
group has no parent group.
|
java.util.Map<java.lang.String,java.lang.String> |
getTranslatedName()
Returns the translated names of this group as a Map where the key is the language
and the value is the translated name of the group (e.g.
|
Group |
setParentGroupId(java.lang.String parentGroupId)
Sets the unique identifier for the group's parent group, or null if the
group has no parent group.
|
Group |
setTranslatedName(java.util.Map<java.lang.String,java.lang.String> translatedName)
Sets the translated names of this group as a Map where the key is the language and
the value is the translated name of the group (e.g.
|
public Group(java.lang.String id, java.lang.String name)
Group
with all required attributes.
Optional attributes should be provided by calling set methods.
A Group must provide the following attributes:
id
- unique identifier for the groupname
- name of the group for displaypublic java.lang.String getId()
public java.lang.String getName()
public java.util.Map<java.lang.String,java.lang.String> getTranslatedName()
Default : null (no translations provided)
public java.lang.String getParentGroupId()
Default: null (no parent group)
public Group setTranslatedName(java.util.Map<java.lang.String,java.lang.String> translatedName)
Default : null (no translations provided)
public Group setParentGroupId(java.lang.String parentGroupId)
Default: null (no parent group)