|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.scribble.protocol.util.InteractionUtil
public final class InteractionUtil
This class provides utility functions for the interaction construct.
Nested Class Summary | |
---|---|
static class |
InteractionUtil.InitialInteractionVisitor
This class identifies the initial interaction. |
Method Summary | |
---|---|
static Role |
getFromRole(ModelObject act)
This method gets the 'from' role associated with the activity. |
static List<ModelObject> |
getInitialInteractions(ModelObject scope)
This method determines the initial interactions associated with the supplied model object. |
static MessageSignature |
getMessageSignature(ModelObject act)
This method gets the message signature associated with the activity. |
static Role |
getToRole(ModelObject act)
This method gets the 'to' role associated with the activity. |
static boolean |
isInitialInteraction(ModelObject scope,
ModelObject interaction)
This method determines whether the supplied interaction is the first within the supplied scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Role getFromRole(ModelObject act)
act
- The activity
public static Role getToRole(ModelObject act)
act
- The activity
public static MessageSignature getMessageSignature(ModelObject act)
act
- The activity
public static List<ModelObject> getInitialInteractions(ModelObject scope)
scope
- The scope within which the search for initial interactions should be conducted
public static boolean isInitialInteraction(ModelObject scope, ModelObject interaction)
scope
- The scopeinteraction
- The interaction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |