org.nakedobjects.metamodel.interactions
Class CollectionAddToContext

java.lang.Object
  extended by org.nakedobjects.metamodel.interactions.InteractionContext<T>
      extended by org.nakedobjects.metamodel.interactions.ValidityContext<CollectionAddToEvent>
          extended by org.nakedobjects.metamodel.interactions.CollectionAddToContext

public class CollectionAddToContext
extends ValidityContext<CollectionAddToEvent>

See InteractionContext for overview; analogous to CollectionAddToEvent.


Constructor Summary
CollectionAddToContext(AuthenticationSession session, InteractionInvocationMethod invocationMethod, NakedObject target, Identifier id, NakedObject proposed)
           
 
Method Summary
 CollectionAddToEvent 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

CollectionAddToContext

public CollectionAddToContext(AuthenticationSession session,
                              InteractionInvocationMethod invocationMethod,
                              NakedObject target,
                              Identifier id,
                              NakedObject proposed)
Method Detail

getProposed

public NakedObject getProposed()

createInteractionEvent

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

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


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