public abstract class ProtocolDecl extends ModelObject
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
ProtocolDecl()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Module |
getModule()
This method returns the model in which this definition
is contained.
|
String |
getName()
This method returns the name.
|
ParameterDecl |
getParameterDeclaration(String name)
This method returns the parameter declaration associated
with the supplied name.
|
List<ParameterDecl> |
getParameterDeclarations()
This method returns the parameter declarations associated with
the protocol.
|
RoleDecl |
getRoleDeclaration(String name)
This method returns the role declaration associated
with the supplied name.
|
List<RoleDecl> |
getRoleDeclarations()
This method returns the role declarations associated with
the protocol.
|
void |
setName(String name)
This method sets the name.
|
derivedFrom, getParent, getParent, getProperties, indent, setParent, toText, visitpublic String getName()
public void setName(String name)
name - The namepublic List<RoleDecl> getRoleDeclarations()
public RoleDecl getRoleDeclaration(String name)
name - The namepublic List<ParameterDecl> getParameterDeclarations()
public ParameterDecl getParameterDeclaration(String name)
name - The namepublic Module getModule()
getModule in class ModelObjectCopyright © 2014. All Rights Reserved.