|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Definition of an naked object. Anything that conforms to this interface can be used in an naked objects system. Objects are further broken down into two types - refernce object and value objects
An naked object must do the following
- reference objects,
- value objects| Method Summary | |
About |
about()
Returns an About object that controls the use of this object. |
void |
copyObject(Naked object)
Copies the content of the specified object into this object. |
java.lang.String |
getClassName()
Returns the class name without package details e.g., Transaction for the class accounts.Transaction |
java.lang.String |
getFullClassName()
Returns the full class name including package details e.g., accounts.Transaction |
java.lang.String |
getObjectHelpText()
Returns a textual desctiption of the object - its contents and possible uses. |
boolean |
isEmpty()
Returns true if the object contains no data, eg when new |
boolean |
isSameAs(Naked object)
Checks to see if two objects contain the same information. |
boolean |
isValid()
Returns true if the object contains valid data |
java.lang.String |
summary()
Returns a String summarising the state of the object. |
Title |
title()
Returns a Title object describing the object. |
| Method Detail |
public About about()
public void copyObject(Naked object)
public java.lang.String getClassName()
public java.lang.String getFullClassName()
public java.lang.String getObjectHelpText()
public boolean isEmpty()
public boolean isSameAs(Naked object)
equals, which determines
if the one object is replaceable with another.
object - the object to compare
public boolean isValid()
public java.lang.String summary()
public Title title()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||