|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Consent
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Description of the interaction that this consent represents. |
InteractionResult |
getInteractionResult()
The InteractionResult that created this Consent. |
java.lang.String |
getReason()
Why consent is being vetoed. |
boolean |
isAllowed()
Returns true if this object is giving permission. |
boolean |
isVetoed()
Returns true if this object is NOT giving permission. |
Consent |
setDescription(java.lang.String description)
Allows the description of the interaction to which this consent relates to be specified or refined. |
| Method Detail |
|---|
boolean isAllowed()
boolean isVetoed()
java.lang.String getReason()
Will be non-null and non-empty if vetoed. Will be null (not the empty string) if this is consent is is allowed.
Will correspond to the reason in the contained
InteractionResult (if one was specified).
java.lang.String getDescription()
May be null.
Consent setDescription(java.lang.String description)
description -
InteractionResult getInteractionResult()
InteractionResult that created this Consent.
Consent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||