org.nakedobjects.object.control
Class ObjectAbout
java.lang.Object
org.nakedobjects.object.control.AbstractAbout
org.nakedobjects.object.control.ObjectAbout
- All Implemented Interfaces:
- About, java.io.Serializable
- public class ObjectAbout
- extends AbstractAbout
An About for contolling the use of fields within a NakedObject.
- See Also:
- Serialized Form
|
Constructor Summary |
ObjectAbout(java.lang.String attributeName,
boolean allow)
Creates an AttributeController with an alternative name for the field.. |
|
Method Summary |
static ObjectAbout |
createAbout(boolean readWrite)
Returns a read/write About (AttributeController.READ_WRITE) if true; read-only
(AttributeController.READ_ONLY) if false. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READ_ONLY
public static final ObjectAbout READ_ONLY
- An About for showing that an attribute is can not be changed.
READ_WRITE
public static final ObjectAbout READ_WRITE
- An About for showing that an attribute is can be changed.
ObjectAbout
public ObjectAbout(java.lang.String attributeName,
boolean allow)
- Creates an AttributeController with an alternative name for the field..
createAbout
public static ObjectAbout createAbout(boolean readWrite)
- Returns a read/write About (AttributeController.READ_WRITE) if true; read-only
(AttributeController.READ_ONLY) if false.