org.nakedobjects.applib.security
Class RoleMemento

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

public final class RoleMemento
extends Object


Constructor Summary
RoleMemento(String name)
          Creates a new role with the specified name.
RoleMemento(String name, String description)
          Creates a new role with the specified name and description.
 
Method Summary
 String getDescription()
           
 String getName()
           
 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(String name)
Creates a new role with the specified name. Description is left blank.


RoleMemento

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

Method Detail

title

public String title()

getName

public String getName()

getDescription

public String getDescription()


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