public class GProtocolInstance extends ProtocolDecl
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION
Constructor and Description |
---|
GProtocolInstance()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
List<Argument> |
getArguments()
This method returns the parameter declarations associated with
the protocol.
|
String |
getMemberName()
This method returns the member name.
|
RoleInstantiation |
getRoleInstantiation(RoleDecl role)
This method returns the role instantiation associated with the supplied
role name, or null if not found.
|
List<RoleInstantiation> |
getRoleInstantiations()
This method returns the role declarations associated with
the protocol.
|
void |
setMemberName(String name)
This method sets the member name.
|
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 String getMemberName()
public void setMemberName(String name)
name
- The namepublic List<RoleInstantiation> getRoleInstantiations()
public RoleInstantiation getRoleInstantiation(RoleDecl role)
role
- The rolepublic List<Argument> getArguments()
public 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.