001 package org.nakedobjects.applib.events;
002
003 import org.nakedobjects.applib.Identifier;
004
005
006 /**
007 * Represents an access (reading) of a collection.
008 *
009 * <p>
010 * Analogous to {@link CollectionAddToEvent} or {@link CollectionRemoveFromEvent}, however the
011 * {@link #getReason()} will always be <tt>null</tt>. (If access is not allowed then a vetoing
012 * {@link CollectionVisibilityEvent} would have been fired).
013 */
014 public class CollectionAccessEvent extends AccessEvent {
015
016 private static final long serialVersionUID = 1L;
017
018 public CollectionAccessEvent(final Object source, final Identifier collectionIdentifier) {
019 super(source, collectionIdentifier);
020 }
021
022 }