org.nakedobjects.metamodel.spec.feature
Interface MutableCurrentHolder

All Superinterfaces:
CurrentHolder
All Known Subinterfaces:
OneToOneAssociation
All Known Implementing Classes:
OneToOneAssociationImpl

public interface MutableCurrentHolder
extends CurrentHolder

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

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


Method Summary
 void set(NakedObject owner, NakedObject newValue)
          Updates the referenced NakedObject for the owning NakedObject with the new value provided, or clears the reference if null.
 
Methods inherited from interface org.nakedobjects.metamodel.spec.feature.CurrentHolder
get
 

Method Detail

set

void set(NakedObject owner,
         NakedObject newValue)
Updates the referenced NakedObject for the owning NakedObject with the new value provided, or clears the reference if null.

For example, if this is a OneToOneAssociation, then updates the object referenced .

Parameters:
owner -
newValue - - the new value, or null


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