org.nakedobjects.applib.events
Class CollectionAccessEvent

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.CollectionAccessEvent
All Implemented Interfaces:
Serializable

public class CollectionAccessEvent
extends AccessEvent

Represents an access (reading) of a collection.

Analogous to CollectionAddToEvent or CollectionRemoveFromEvent, however the InteractionEvent.getReason() will always be null. (If access is not allowed then a vetoing CollectionVisibilityEvent would have been fired).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CollectionAccessEvent(Object source, Identifier collectionIdentifier)
           
 
Method Summary
 
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

CollectionAccessEvent

public CollectionAccessEvent(Object source,
                             Identifier collectionIdentifier)


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