org.nakedobjects.metamodel.consent
Class Veto

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

public class Veto
extends ConsentAbstract

See Also:
Serialized Form

Field Summary
static Veto DEFAULT
           
 
Constructor Summary
Veto(InteractionResult interactionResult)
           
Veto(java.lang.String reasonVetoed)
          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.
 
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 Veto DEFAULT
Constructor Detail

Veto

public Veto(java.lang.String reasonVetoed)
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 - - must not be null

Veto

public Veto(InteractionResult interactionResult)


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