za.org.coefficient.authentication
Class Role
java.lang.Object
za.org.coefficient.authentication.Role
- All Implemented Interfaces:
- java.io.Serializable
public class Role
- extends java.lang.Object
- implements java.io.Serializable
Title: Project Engine
Description: Simple role object to describe user roles
Copyright: Copyright (c) 2003
Company: icomtek CSIR
- Version:
- 1.0
- Author:
- Krishendran Rangappa
- See Also:
- Serialized Form
Constructor Summary |
Role()
|
Role(long roleValue,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
private java.lang.Long id
description
private java.lang.String description
roleValue
private long roleValue
Role
public Role()
Role
public Role(long roleValue,
java.lang.String description)
setDescription
public void setDescription(java.lang.String desc)
getDescription
public java.lang.String getDescription()
- Gets the value of description
- Returns:
- the value of description
setId
public void setId(java.lang.Long id)
getId
public java.lang.Long getId()
setRoleValue
public void setRoleValue(long roleValue)
getRoleValue
public long getRoleValue()
- Gets the value of roleValue
- Returns:
- the value of roleValue
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright CSIR. All Rights Reserved.