org.nakedobjects.applib.security
Class RoleMemento

java.lang.Object
  extended by org.nakedobjects.applib.security.RoleMemento

public final class RoleMemento
extends java.lang.Object


Constructor Summary
RoleMemento(java.lang.String name)
          Creates a new role with the specified name.
RoleMemento(java.lang.String name, java.lang.String description)
          Creates a new role with the specified name and description.
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String title()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleMemento

public RoleMemento(java.lang.String name)
Creates a new role with the specified name. Description is left blank.


RoleMemento

public RoleMemento(java.lang.String name,
                   java.lang.String description)
Creates a new role with the specified name and description.

Method Detail

title

public java.lang.String title()

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.