|
||||||||||
| 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.Allow
An instance of this type is used to allow something.
| Field Summary | |
static Allow |
DEFAULT
An Allow object with no reason. |
| Constructor Summary | |
Allow()
|
|
Allow(java.lang.String reason)
|
|
| Method Summary | |
boolean |
isAllowed()
Returns true. |
boolean |
isVetoed()
Returns false. |
| 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 Allow DEFAULT
| Constructor Detail |
public Allow()
public Allow(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 | |||||||||