org.nakedobjects.object.control
Class AbstractAbout

java.lang.Object
  extended byorg.nakedobjects.object.control.AbstractAbout
All Implemented Interfaces:
About, java.io.Serializable
Direct Known Subclasses:
ActionAbout, ClassAbout, FieldAbout, ObjectAbout

public abstract class AbstractAbout
extends java.lang.Object
implements About

See Also:
Serialized Form

Constructor Summary
AbstractAbout(java.lang.String name, java.lang.String description, Permission accessible, Permission usable)
           
 
Method Summary
 Permission canAccess()
          Returns a Permission describing whether access is permitted.
 Permission canUse()
          Returns a Permission describing whether use is permitted.
 java.lang.String getDescription()
          Return a description of this object domain.
 java.lang.String getName()
          Returns the name of object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAbout

public AbstractAbout(java.lang.String name,
                     java.lang.String description,
                     Permission accessible,
                     Permission usable)
Method Detail

canAccess

public Permission canAccess()
Description copied from interface: About
Returns a Permission describing whether access is permitted.

Specified by:
canAccess in interface About

canUse

public Permission canUse()
Description copied from interface: About
Returns a Permission describing whether use is permitted.

Specified by:
canUse in interface About

getDescription

public java.lang.String getDescription()
Description copied from interface: About
Return a description of this object domain.

Specified by:
getDescription in interface About

getName

public java.lang.String getName()
Description copied from interface: About
Returns the name of object

Specified by:
getName in interface About