Method Summary |
|
public boolean | add(Group group) Adds a Group to this GroupSet.
Parameters: group - A Group. |
public boolean | add(Collection groups) Adds the Groups in a Collection to this GroupSet.
Parameters: groups - A Collection of Groups. |
public boolean | add(GroupSet groupSet) Adds the Groups in another GroupSet to this GroupSet.
Parameters: groupSet - A GroupSet. |
public boolean | contains(Group group) Checks whether this GroupSet contains a Group.
Parameters: group - A Group. |
public Group | getGroup(String groupName) Returns a Group with the given name, if it is contained in
this GroupSet.
Parameters: groupName - Name of Group. |
public Group | getGroupById(int groupId) Returns a Group with the given id, if it is contained in
this GroupSet. |
public Group | getGroupByName(String groupName) Returns a Group with the given name, if it is contained in
this GroupSet.
Parameters: groupName - Name of Group. |
public Group[] | getGroupsArray() Returns an Array of Groups in this GroupSet. |
public boolean | remove(Group group) Removes a Group from this GroupSet.
Parameters: group - A Group. |
public String | toString() |