org.nakedobjects.metamodel.adapter
Interface MutableProposedHolder


public interface MutableProposedHolder

Mix-in for Instance implementations, where can hold a proposed new value different from the underlying value.

TODO: same concept as ProposedHolder, so should try to combine.


Method Summary
 java.lang.Object getProposed()
          The proposed (pending) value, if applicable.
 void setProposed(java.lang.Object value)
          Sets the proposed (pending) value, if applicable.
 

Method Detail

getProposed

java.lang.Object getProposed()
The proposed (pending) value, if applicable.

See Specification#createInstanceProposalEvent(Instance) for an indication as to whether the state will be populated, and what its type will be.

Returns:

setProposed

void setProposed(java.lang.Object value)
Sets the proposed (pending) value, if applicable.

See Specification#createInstanceProposalEvent(Instance) for an indication as to whether the proposed state should be populated, and what its type will be.



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