org.nakedobjects.metamodel.consent
Class Allow

java.lang.Object
  extended by org.nakedobjects.metamodel.consent.ConsentAbstract
      extended by org.nakedobjects.metamodel.consent.Allow
All Implemented Interfaces:
java.io.Serializable, Consent

public class Allow
extends ConsentAbstract

An instance of this type is used to allow something.

See Also:
Serialized Form

Field Summary
static Allow DEFAULT
           
 
Constructor Summary
Allow(InteractionResult interactionResult)
           
Allow(java.lang.String description)
          Deprecated.  
 
Method Summary
 
Methods inherited from class org.nakedobjects.metamodel.consent.ConsentAbstract
allowIf, getDescription, getInteractionResult, getReason, isAllowed, isVetoed, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static Allow DEFAULT
Constructor Detail

Allow

public Allow(java.lang.String description)
Deprecated. 

Called by DnD viewer; we should instead find a way to put the calling logic into Facets so that it is available for use by other viewers.

Parameters:
reasonVeteod -
advisorClass -
See Also:
Veto

Allow

public Allow(InteractionResult interactionResult)


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