org.apache.jetspeed.om.security
Class BaseJetspeedRole

java.lang.Object
  extended byorg.apache.jetspeed.om.security.BaseJetspeedRole
All Implemented Interfaces:
Role

public class BaseJetspeedRole
extends java.lang.Object
implements Role

A Jetspeed basic Role.

Version:
$Id: BaseJetspeedRole.java,v 1.3 2004/02/23 03:14:12 jford Exp $
Author:
David Sean Taylor

Field Summary
protected  java.lang.String id
           
protected  boolean isNew
           
protected  java.lang.String name
           
 
Constructor Summary
BaseJetspeedRole()
           
BaseJetspeedRole(java.lang.String id)
           
 
Method Summary
 java.lang.String getId()
          Get the id of the Role
 java.lang.String getName()
          Get the name of the Role
 boolean isNew()
           
 void setId(java.lang.String id)
          Set the id of the Role
 void setName(java.lang.String roleName)
          Set the name of the Role
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

id

protected java.lang.String id

isNew

protected boolean isNew
Constructor Detail

BaseJetspeedRole

public BaseJetspeedRole(java.lang.String id)

BaseJetspeedRole

public BaseJetspeedRole()
Method Detail

getName

public java.lang.String getName()
Get the name of the Role

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

setName

public void setName(java.lang.String roleName)
Set the name of the Role

Specified by:
setName in interface Role
Parameters:
roleName - the name of the Role.

getId

public java.lang.String getId()
Get the id of the Role

Specified by:
getId in interface Role
Returns:
the id of the role.

setId

public void setId(java.lang.String id)
Set the id of the Role

Specified by:
setId in interface Role
Parameters:
id - the new id for the role

isNew

public boolean isNew()


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.