org.nakedobjects.applib.events
Class PropertyAccessEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.nakedobjects.applib.events.InteractionEvent
          extended by org.nakedobjects.applib.events.AccessEvent
              extended by org.nakedobjects.applib.events.PropertyAccessEvent
All Implemented Interfaces:
java.io.Serializable

public class PropertyAccessEvent
extends AccessEvent

Represents an access (reading) of a property.

Analogous to PropertyModifyEvent, however the InteractionEvent.getReason() will always be null. (If access is not allowed then a PropertyVisibilityEvent would have been fired).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertyAccessEvent(java.lang.Object source, Identifier propertyIdentifier, java.lang.Object value)
           
 
Method Summary
 java.lang.Object getValue()
           
 
Methods inherited from class org.nakedobjects.applib.events.InteractionEvent
advised, getAdvisorClass, getClassName, getClassNaturalName, getIdentifier, getMemberName, getMemberNaturalName, getMemberParameterNames, getMemberParameterNaturalNames, getReason, getSource, isVeto
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyAccessEvent

public PropertyAccessEvent(java.lang.Object source,
                           Identifier propertyIdentifier,
                           java.lang.Object value)
Method Detail

getValue

public java.lang.Object getValue()


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