edu.nrao.sss.model.user
Class UserGroup
java.lang.Object
edu.nrao.sss.model.user.ObjectId
edu.nrao.sss.model.user.UserGroup
- All Implemented Interfaces:
- XMLable, Serializable
public class UserGroup
- extends ObjectId
- implements XMLable
- See Also:
- Serialized Form
OP_NAME
public static final String OP_NAME
- See Also:
- Constant Field Values
OP_TYPE
public static final short OP_TYPE
- See Also:
- Constant Field Values
PDB_ADMIN
public static final String PDB_ADMIN
- See Also:
- Constant Field Values
RH_NAME
public static final String RH_NAME
- See Also:
- Constant Field Values
RH_TYPE
public static final short RH_TYPE
- See Also:
- Constant Field Values
RV_NAME
public static final String RV_NAME
- See Also:
- Constant Field Values
RV_TYPE
public static final short RV_TYPE
- See Also:
- Constant Field Values
UserGroup
public UserGroup()
UserGroup
public UserGroup(UserGroup userGroup)
addToUsers
public void addToUsers(User user)
throws InfrastructureException
- Throws:
InfrastructureException
equals
public boolean equals(Object obj)
- Specified by:
equals
in class ObjectId
getUserGroupDescription
public String getUserGroupDescription()
getUserGroupName
public String getUserGroupName()
getUserGroupType
public short getUserGroupType()
getUsers
public Set<User> getUsers()
setUserGroupDescription
public void setUserGroupDescription(String userGroupDescription)
setUserGroupName
public void setUserGroupName(String userGroupName)
setUserGroupType
public void setUserGroupType(short userGroupType)
setUsers
public void setUsers(Set<User> users)
toXML
public String toXML()
- Description copied from interface:
XMLable
- Provide an XML description of the object.
- Specified by:
toXML
in interface XMLable
- Returns:
- a String representing the XML of the object.
Copyright © 2009. All Rights Reserved.