public class GProtocolDefinition extends ProtocolDecl
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION
Constructor and Description |
---|
GProtocolDefinition()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
GBlock |
getBlock()
This method returns the block of activities associated
with the definition.
|
void |
setBlock(GBlock block)
This method sets the block of activities associated
with the definition.
|
String |
toString() |
void |
toText(StringBuffer buf,
int level)
This method generates a text representation of the protocol component.
|
void |
visit(Visitor visitor)
This method visits the model object using the supplied
visitor.
|
getModule, getName, getParameterDeclaration, getParameterDeclarations, getRoleDeclaration, getRoleDeclarations, setName
derivedFrom, getParent, getParent, getProperties, indent, setParent
public GBlock getBlock()
public void setBlock(GBlock block)
block
- The block of activitiespublic void visit(Visitor visitor)
visit
in class ModelObject
visitor
- The visitorpublic void toText(StringBuffer buf, int level)
toText
in class ModelObject
buf
- The text bufferlevel
- The indentation level, if relevantCopyright © 2014. All Rights Reserved.