|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.jsurveyor.UserComponent
net.sourceforge.jsurveyor.UserGroup
Class to model UserGroups. Used to represent a group of users and or usergroups that need to be handled as a larger identity in the system.
| Constructor Summary | |
UserGroup()
Construct a UserGroup with no data. |
|
UserGroup(int userGroupID,
java.lang.String groupName,
java.util.ArrayList refChildren,
java.util.ArrayList refParents)
Constructor for UserGroup, use through DataAccess. |
|
UserGroup(java.lang.String groupName)
Constructor for UserGroup |
|
UserGroup(java.lang.String groupName,
java.util.ArrayList refChildren,
java.util.ArrayList refParents)
Constructor for UserGroup |
|
| Method Summary | |
java.lang.String |
getGroupName()
Returns the name of the usergroup. |
int |
getUserGroupID()
Returns the ID of the usergroup. |
java.lang.String |
getUserGroupName()
Returns the name of the usergroup. |
void |
setGroupName(java.lang.String groupName)
Sets the name of the usergroup. |
void |
setUserGroupID(int userGroupID)
Sets the ID of the usergroup. |
void |
setUserGroupName(java.lang.String groupName)
Sets a name for the usergroup. |
java.lang.String |
toString()
Returns the usergroupID prefixed with a G to represent it is a group. |
| Methods inherited from class net.sourceforge.jsurveyor.UserComponent |
addChild, addParent, clearParents, equals, getParents, getRefChildren, getRefParents, isRefParentsEmpty, removeChild, removeParent |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UserGroup(int userGroupID,
java.lang.String groupName,
java.util.ArrayList refChildren,
java.util.ArrayList refParents)
userGroupID - intgroupName - StringrefChildren - ArrayListrefParents - ArrayList
public UserGroup(java.lang.String groupName,
java.util.ArrayList refChildren,
java.util.ArrayList refParents)
groupName - StringrefChildren - ArrayListrefParents - ArrayListpublic UserGroup(java.lang.String groupName)
groupName - Stringpublic UserGroup()
| Method Detail |
public int getUserGroupID()
public void setUserGroupID(int userGroupID)
userGroupID - intpublic java.lang.String getUserGroupName()
public void setUserGroupName(java.lang.String groupName)
groupName - public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName - Stringpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||