org.apache.jetspeed.om.servlet.impl
Class SecurityRoleImpl

java.lang.Object
  extended by org.apache.jetspeed.om.servlet.impl.SecurityRoleImpl
All Implemented Interfaces:
Serializable, org.apache.jetspeed.om.common.servlet.MutableSecurityRole, org.apache.pluto.om.common.SecurityRole, org.apache.pluto.om.Model

public class SecurityRoleImpl
extends Object
implements org.apache.pluto.om.common.SecurityRole, org.apache.jetspeed.om.common.servlet.MutableSecurityRole, Serializable

MutableSecurityRoleImpl

Version:
$Id: SecurityRoleImpl.java 516881 2007-03-11 10:34:21Z ate $
Author:
Ate Douma
See Also:
Serialized Form

Field Summary
private  String description
           
private  String roleName
           
protected  long webAppId
           
 
Constructor Summary
SecurityRoleImpl()
          Default constructor.
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getRoleName()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setRoleName(String roleName)
           
 String toString()
          Convert SecurityRoleto String.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

webAppId

protected long webAppId

description

private String description

roleName

private String roleName
Constructor Detail

SecurityRoleImpl

public SecurityRoleImpl()
Default constructor.

Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in interface org.apache.pluto.om.common.SecurityRole
See Also:
SecurityRole.getDescription()

getRoleName

public String getRoleName()
Specified by:
getRoleName in interface org.apache.pluto.om.common.SecurityRole
See Also:
SecurityRole.getRoleName()

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface org.apache.jetspeed.om.common.servlet.MutableSecurityRole
See Also:
MutableSecurityRole.setDescription(java.lang.String)

setRoleName

public void setRoleName(String roleName)
Specified by:
setRoleName in interface org.apache.jetspeed.om.common.servlet.MutableSecurityRole
See Also:
MutableSecurityRole.setRoleName(java.lang.String)

toString

public String toString()
Convert SecurityRoleto String.

Overrides:
toString in class Object
Returns:
String value of SecurityRole.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.