org.nakedobjects.metamodel.interactions
Class ActionArgumentContext

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

public class ActionArgumentContext
extends ValidityContext<ActionArgumentEvent>
implements ProposedHolder

See InteractionContext for overview; analogous to ActionArgumentEvent.


Constructor Summary
ActionArgumentContext(AuthenticationSession session, InteractionInvocationMethod invocationMethod, NakedObject target, Identifier id, NakedObject[] args, int position)
           
 
Method Summary
 ActionArgumentEvent createInteractionEvent()
          Factory method to create corresponding InteractionEvent.
 NakedObject[] getArgs()
           
 int getPosition()
           
 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

ActionArgumentContext

public ActionArgumentContext(AuthenticationSession session,
                             InteractionInvocationMethod invocationMethod,
                             NakedObject target,
                             Identifier id,
                             NakedObject[] args,
                             int position)
Method Detail

getArgs

public NakedObject[] getArgs()

getPosition

public int getPosition()

getProposed

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

createInteractionEvent

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

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


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