|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.object.control.Permission
org.nakedobjects.object.control.Veto
| Field Summary | |
static Veto |
DEFAULT
An Veto object with no reason. |
| Constructor Summary | |
Veto()
|
|
Veto(java.lang.String reason)
|
|
| Method Summary | |
boolean |
isAllowed()
Returns false. |
boolean |
isVetoed()
Returns true. |
| Methods inherited from class org.nakedobjects.object.control.Permission |
allow, create, create, getReason, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Veto DEFAULT
| Constructor Detail |
public Veto()
public Veto(java.lang.String reason)
| Method Detail |
public final boolean isAllowed()
isAllowed in class Permissionpublic final boolean isVetoed()
isVetoed in class Permission
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||