com.hyper9.simdk.db.types
Interface Role

All Superinterfaces:
Serializable
All Known Implementing Classes:
RoleImpl

public interface Role
extends Serializable

A role.

Author:
akutz

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.
 

Method Detail

getRoleName

String getRoleName()
Gets the name of the role.

Returns:
The name of the role.

setRoleName

void setRoleName(String toSet)
Sets the name of the role.

Parameters:
toSet - The name of the role.

getUsers

List<User> getUsers()
Gets a list of users associated with this role.

Returns:
A list of users associated with this role.

setUsers

void setUsers(List<User> toSet)
Sets a list of users associated with this role.

Parameters:
toSet - A list of users associated with this role.


Copyright © 2009-2010 Hyper9. All Rights Reserved.