|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.soebes.subversion.sapm.Groups
public class Groups
Convenience class for the grammar to handle a list of Groups.
| Field Summary | |
|---|---|
private ArrayList<Group> |
groupsList
|
| Constructor Summary | |
|---|---|
Groups()
|
|
| Method Summary | |
|---|---|
void |
add(Group group)
Add a single group to the list of groups. |
Group |
getGroup(Group group)
|
Group |
getGroup(String groupName)
Get the Group instance from the list by name. |
ArrayList<Group> |
getGroupsList()
Get the list of all groups |
boolean |
hasGroup(String groupName)
Check if a group with the given groupName exists in the list or not. |
void |
setGroupsList(ArrayList<Group> groupsList)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ArrayList<Group> groupsList
| Constructor Detail |
|---|
public Groups()
| Method Detail |
|---|
public void setGroupsList(ArrayList<Group> groupsList)
public ArrayList<Group> getGroupsList()
public void add(Group group)
group to the list of groups.
group - The group which will added to the list.public boolean hasGroup(String groupName)
groupName - The name we are searching for.
public Group getGroup(Group group)
public Group getGroup(String groupName)
groupName - The group for which will be searched.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||