gov.nih.nci.caarray.common.data.security
Class Role

java.lang.Object
  extended by gov.nih.nci.caarray.common.data.security.Role
All Implemented Interfaces:
java.io.Serializable

public class Role
extends java.lang.Object
implements java.io.Serializable

This class encapsulates the properties of a security role object

Version:
1.0
Author:
Q. Pan
See Also:
Serialized Form

Constructor Summary
Role()
          Constructor for a new Role object.
 
Method Summary
 long getApplicationId()
          Return the applicationId
 java.lang.String getRoleDesc()
          Return the roleDesc
 long getRoleId()
          Return the roleId
 java.lang.String getRoleName()
          Return the roleName
 void setApplicationId(long applicationId)
          Sets the applicationId for this Role object
 void setRoleDesc(java.lang.String roleDesc)
          Sets the roleDesc for this Role object
 void setRoleId(long roleId)
          Sets the roleId for this Role object
 void setRoleName(java.lang.String roleName)
          Sets the roleName for this Role object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role()
Constructor for a new Role object.

Method Detail

setRoleName

public void setRoleName(java.lang.String roleName)
Sets the roleName for this Role object

Parameters:
roleName - the roleName

getRoleName

public java.lang.String getRoleName()
Return the roleName

Returns:
the roleName

setRoleDesc

public void setRoleDesc(java.lang.String roleDesc)
Sets the roleDesc for this Role object

Parameters:
roleDesc - the roleDesc

getRoleDesc

public java.lang.String getRoleDesc()
Return the roleDesc

Returns:
the roleDesc

setRoleId

public void setRoleId(long roleId)
Sets the roleId for this Role object

Parameters:
roleId - the roleId

getRoleId

public long getRoleId()
Return the roleId

Returns:
the roleId

setApplicationId

public void setApplicationId(long applicationId)
Sets the applicationId for this Role object

Parameters:
applicationId - the applicationId

getApplicationId

public long getApplicationId()
Return the applicationId

Returns:
the applicationId