001 package org.nakedobjects.applib.events;
002
003 import org.nakedobjects.applib.Identifier;
004
005
006 /**
007 * Represents a check as to whether a collection is usable or has been disabled.
008 *
009 * <p>
010 * If {@link #getReason()} is not <tt>null</tt> then provides the reason why the collection is disabled;
011 * otherwise collection is enabled.
012 */
013 public class CollectionUsabilityEvent extends UsabilityEvent {
014
015 private static final long serialVersionUID = 1L;
016
017 public CollectionUsabilityEvent(final Object source, final Identifier identifier) {
018 super(source, identifier);
019 }
020
021 }