public class LChoice extends LActivity
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION
Constructor and Description |
---|
LChoice()
This is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<LBlock> |
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 role)
This method sets the role.
|
String |
toString() |
void |
toText(StringBuffer buf,
int level)
This method generates a text representation of the protocol component.
|
void |
visit(LVisitor visitor)
This method visits the model object using the supplied
visitor.
|
derivedFrom, getModule, getParent, getParent, getProperties, indent, setParent
public Role getRole()
public void setRole(Role role)
role
- The rolepublic List<LBlock> getPaths()
public void visit(LVisitor visitor)
public void toText(StringBuffer buf, int level)
toText
in class ModelObject
buf
- The text bufferlevel
- The indentation level, if relevantCopyright © 2014. All Rights Reserved.