com.hyper9.simdk.db.impls
Class RoleImpl

java.lang.Object
  extended by com.hyper9.simdk.db.impls.RoleImpl
All Implemented Interfaces:
Role, Serializable

public class RoleImpl
extends Object
implements Role

See Also:
Serialized Form

Constructor Summary
RoleImpl()
           
 
Method Summary
 String getRoleName()
          Gets the name of the role.
 List<User> getUsers()
          Gets a list of users associated with this role.
 void setRoleName(String toSet)
          Sets the name of the role.
 void setUsers(List<User> toSet)
          Sets a list of users associated with this role.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleImpl

public RoleImpl()
Method Detail

getRoleName

public String getRoleName()
Description copied from interface: Role
Gets the name of the role.

Specified by:
getRoleName in interface Role
Returns:
The name of the role.

getUsers

public List<User> getUsers()
Description copied from interface: Role
Gets a list of users associated with this role.

Specified by:
getUsers in interface Role
Returns:
A list of users associated with this role.

setRoleName

public void setRoleName(String toSet)
Description copied from interface: Role
Sets the name of the role.

Specified by:
setRoleName in interface Role
Parameters:
toSet - The name of the role.

setUsers

public void setUsers(List<User> toSet)
Description copied from interface: Role
Sets a list of users associated with this role.

Specified by:
setUsers in interface Role
Parameters:
toSet - A list of users associated with this role.


Copyright © 2009-2010 Hyper9. All Rights Reserved.