org.nakedobjects.metamodel.adapter
Interface Instance

All Known Subinterfaces:
NakedObject, NakedObjectMM
All Known Implementing Classes:
InstanceAbstract

public interface Instance

Represents an instance of some element of the meta-model.

The most significant sub-interface is NakedObject. However, can also be used directly to represent associations, actions and action parameters.

Note also: in the optional no-architecture-x project there is a sub-interface that allows listeners to be attached to the instance.


Method Summary
 NakedObject getOwner()
          The owning NakedObject of this instance.
 Specification getSpecification()
          Returns the specification that details the structure of this instance.
 

Method Detail

getSpecification

Specification getSpecification()
Returns the specification that details the structure of this instance.


getOwner

NakedObject getOwner()
The owning NakedObject of this instance.

In the case of the NakedObject interface, just returns null.

Returns:


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