org.nakedobjects.metamodel.interactions
Class PropertyAccessContext

java.lang.Object
  extended by org.nakedobjects.metamodel.interactions.InteractionContext<T>
      extended by org.nakedobjects.metamodel.interactions.AccessContext<PropertyAccessEvent>
          extended by org.nakedobjects.metamodel.interactions.PropertyAccessContext

public class PropertyAccessContext
extends AccessContext<PropertyAccessEvent>

See InteractionContext for overview; analogous to PropertyAccessEvent.


Constructor Summary
PropertyAccessContext(AuthenticationSession session, InteractionInvocationMethod invocationMethod, NakedObject target, Identifier id, NakedObject value)
           
 
Method Summary
 PropertyAccessEvent createInteractionEvent()
          Factory method to create corresponding InteractionEvent.
 NakedObject getValue()
          The current value for a property.
 
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

PropertyAccessContext

public PropertyAccessContext(AuthenticationSession session,
                             InteractionInvocationMethod invocationMethod,
                             NakedObject target,
                             Identifier id,
                             NakedObject value)
Method Detail

getValue

public NakedObject getValue()
The current value for a property.


createInteractionEvent

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

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


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