org.nakedobjects.metamodel.spec.feature
Interface CurrentHolder

All Known Subinterfaces:
MutableCurrentHolder, NakedObjectActionParameter, NakedObjectAssociation, OneToManyAssociation, OneToOneActionParameter, OneToOneAssociation, ParseableEntryActionParameter
All Known Implementing Classes:
NakedObjectActionParameterAbstract, NakedObjectActionParameterParseable, NakedObjectAssociationAbstract, OneToManyAssociationImpl, OneToOneActionParameterImpl, OneToOneAssociationImpl

public interface CurrentHolder

Mix-in interface for TypedSpecifications that reference or otherwise contain a 'current' value.

Examples include properties, collections and action parameters (but not actions themselves).


Method Summary
 NakedObject get(NakedObject owner)
          Returns the referenced NakedObject for the owning NakedObject.
 

Method Detail

get

NakedObject get(NakedObject owner)
Returns the referenced NakedObject for the owning NakedObject.

For example, if this is an OneToOneAssociation, then returns the referenced object.



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