public class MGroupType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name
The name.
|
protected java.util.List |
roles
The roles.
|
| Constructor and Description |
|---|
MGroupType() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMRoleType(MRoleType role)
Add a role to this group type.
|
MRoleType[] |
getMRoleTypes()
Get the roles of this group type.
|
java.lang.String |
getName()
Get the name of the group type.
|
void |
removeMRoleType(MRoleType role)
Remove a role from this group type.
|
void |
setName(java.lang.String name)
Set the name of the group type.
|
java.lang.String |
toString()
Get a string representation of this group type.
|
protected java.lang.String name
protected java.util.List roles
public void setName(java.lang.String name)
name - The name of the group type.public java.lang.String getName()
public MRoleType[] getMRoleTypes()
public void addMRoleType(MRoleType role)
role - The role to add.public void removeMRoleType(MRoleType role)
role - The role to remove.public java.lang.String toString()
toString in class java.lang.Object