|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.consent.InteractionResultSet
public class InteractionResultSet
| Constructor Summary | |
|---|---|
InteractionResultSet()
|
|
| Method Summary | |
|---|---|
InteractionResultSet |
add(InteractionResult result)
|
Consent |
createConsent()
Returns the Consent corresponding to getInteractionResult(), or an Allow if
there have been no InteractionResults added. |
InteractionResult |
getInteractionResult()
Returns the "best" contained InteractionResult. |
boolean |
isAllowed()
Empty only if all the contained InteractionResults are also
empty. |
boolean |
isVetoed()
Vetoed if any of the contained InteractionResults are also
not empty. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InteractionResultSet()
| Method Detail |
|---|
public InteractionResultSet add(InteractionResult result)
public boolean isAllowed()
contained InteractionResults are also
empty.
public boolean isVetoed()
contained InteractionResults are also
not empty.
public Consent createConsent()
Consent corresponding to getInteractionResult(), or an Allow if
there have been no InteractionResults added.
public InteractionResult getInteractionResult()
InteractionResult.
This will be the first InteractionResult that has vetoed the interaction, or the first
InteractionResult added if none have vetoed.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||