org.nakedobjects.metamodel.interactions
Class ObjectValidityContext

java.lang.Object
  extended by org.nakedobjects.metamodel.interactions.InteractionContext<T>
      extended by org.nakedobjects.metamodel.interactions.ValidityContext<ObjectValidityEvent>
          extended by org.nakedobjects.metamodel.interactions.ObjectValidityContext
All Implemented Interfaces:
ProposedHolder

public class ObjectValidityContext
extends ValidityContext<ObjectValidityEvent>
implements ProposedHolder

See InteractionContext for overview; analogous to ObjectValidityEvent.


Constructor Summary
ObjectValidityContext(AuthenticationSession session, InteractionInvocationMethod invocationMethod, NakedObject target, Identifier identifier)
           
 
Method Summary
 ObjectValidityEvent createInteractionEvent()
          Factory method to create corresponding InteractionEvent.
 NakedObject getProposed()
           
 
Methods inherited from class org.nakedobjects.metamodel.interactions.InteractionContext
getIdentifier, getInteractionType, getInvocationMethod, getSession, getTarget, isProgrammatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectValidityContext

public ObjectValidityContext(AuthenticationSession session,
                             InteractionInvocationMethod invocationMethod,
                             NakedObject target,
                             Identifier identifier)
Method Detail

createInteractionEvent

public ObjectValidityEvent createInteractionEvent()
Description copied from class: InteractionContext
Factory method to create corresponding InteractionEvent.

Specified by:
createInteractionEvent in class InteractionContext<ObjectValidityEvent>
Returns:

getProposed

public NakedObject getProposed()
Specified by:
getProposed in interface ProposedHolder


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