|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NakedObject
Naked objects are adapters to domain objects, where the application is written in terms of domain objects and those objects are represented within the NOF through these adapter, and not directly.
NakedObjectMM| Method Summary | |
|---|---|
void |
changeState(ResolveState newState)
Changes the 'lazy loaded' state of the domain object. |
void |
checkLock(Version version)
Checks the version of this adapter to make sure that it does not differ from the specified version. |
void |
fireChangedEvent()
|
java.lang.String |
getIconName()
Returns the name of an icon to use if this object is to be displayed graphically. |
Oid |
getOid()
The objects unique id. |
ResolveState |
getResolveState()
Determines what 'lazy loaded' state the domain object is in. |
Version |
getVersion()
Returns the current version of the domain object. |
boolean |
isAggregated()
Whether this instance belongs to another object (meaning its getOid() will
be AggregatedOid. |
void |
setOptimisticLock(Version version)
Sets the versions of the domain object. |
| Methods inherited from interface org.nakedobjects.metamodel.adapter.NakedObjectMM |
|---|
getInstance, getObject, getSpecification, getTypeOfFacet, isPersistent, isTransient, replacePojo, setTypeOfFacet, titleString |
| Methods inherited from interface org.nakedobjects.metamodel.adapter.Instance |
|---|
getOwner |
| Method Detail |
|---|
java.lang.String getIconName()
May return null if no icon is specified.
void changeState(ResolveState newState)
ResolveStatevoid checkLock(Version version)
ConcurrencyException - if the specified version differs from the version held this adapter.Oid getOid()
ResolveState getResolveState()
ResolveStateVersion getVersion()
void setOptimisticLock(Version version)
void fireChangedEvent()
boolean isAggregated()
getOid() will
be AggregatedOid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||