|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.scribble.protocol.model.ModelObject
org.scribble.protocol.model.Activity
org.scribble.protocol.model.Choice
public class Choice

This class represents the Choice construct between two or more paths.
| Constructor Summary | |
|---|---|
Choice()
This is the default constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
List<Block> |
getPaths()
This method returns the list of mutually exclusive activity blocks that comprise the multi-path construct. |
Role |
getRole()
This method returns the role. |
int |
hashCode()
|
void |
setRole(Role part)
This method sets the role. |
String |
toString()
|
void |
visit(Visitor visitor)
This method visits the model object using the supplied visitor. |
| Methods inherited from class org.scribble.protocol.model.Activity |
|---|
getEnclosingProtocol |
| Methods inherited from class org.scribble.protocol.model.ModelObject |
|---|
derivedFrom, getAnnotations, getModel, getParent, getProperties, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Choice()
| Method Detail |
|---|
public Role getRole()
public void setRole(Role part)
part - The rolepublic List<Block> getPaths()
public void visit(Visitor visitor)
visit in class ModelObjectvisitor - The visitorpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||