|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.consent.InteractionResult
public class InteractionResult
| Constructor Summary | |
|---|---|
InteractionResult(InteractionEvent interactionEvent)
|
|
| Method Summary | |
|---|---|
void |
advise(java.lang.String reason,
InteractionAdvisorFacet facet)
|
Consent |
createConsent()
|
InteractionAdvisorFacet |
getAdvisorFacet()
Returns the first of the getAdvisorFacets() that has been
advised, or null if none yet. |
java.util.List<InteractionAdvisorFacet> |
getAdvisorFacets()
Returns all facets that have
appended reasons to the buffer. |
InteractionEvent |
getInteractionEvent()
Returns the contained InteractionEvent, if necessary updated with the
advice of the interactions. |
java.lang.String |
getReason()
Gets the reason as currently known, but does not change the state. |
boolean |
isNotVetoing()
|
boolean |
isVetoing()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InteractionResult(InteractionEvent interactionEvent)
| Method Detail |
|---|
public InteractionEvent getInteractionEvent()
InteractionEvent, if necessary updated with the
advice of the interactions.
That is, if still advising, then copies over the details from this result into
the contained InteractionEvent, and flips into advised (done).
public void advise(java.lang.String reason,
InteractionAdvisorFacet facet)
public boolean isVetoing()
public boolean isNotVetoing()
public InteractionAdvisorFacet getAdvisorFacet()
getAdvisorFacets() that has been
advised, or null if none yet.
getAdvisorFacets()public java.util.List<InteractionAdvisorFacet> getAdvisorFacets()
facets that have
appended reasons to the buffer.
getAdvisorFacet()public Consent createConsent()
public java.lang.String getReason()
If isNotVetoing(), then returns null. Otherwise will be a non-empty string.
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 | |||||||||