public class GDo extends GActivity
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
GDo()
This is the default constructor.
|
GDo(GDo copy)
This is the copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Argument> |
getArguments()
This method returns the argument list.
|
String |
getProtocol()
This method returns the protocol.
|
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 argument list.
|
String |
getScope()
This method returns the optional scope name.
|
void |
identifyInvolvedRoles(Set<Role> roles)
This method builds up the set of roles involved in the global
activity.
|
boolean |
isRoleInvolved(RoleDecl role)
This method determines whether the supplied role is 'involved'
in this global activity.
|
void |
setProtocol(String protocol)
This method sets the protocol.
|
void |
setScope(String scope)
This method sets the optional scope name.
|
void |
toText(StringBuffer buf,
int level)
This method generates a text representation of the protocol component.
|
void |
visit(GVisitor visitor)
This method visits the model object using the supplied
visitor.
|
derivedFrom, getModule, getParent, getParent, getProperties, indent, setParentpublic GDo()
public GDo(GDo copy)
copy - The copypublic boolean isRoleInvolved(RoleDecl role)
isRoleInvolved in class GActivitypublic void identifyInvolvedRoles(Set<Role> roles)
identifyInvolvedRoles in class GActivityroles - The set of involved rolespublic String getProtocol()
public void setProtocol(String protocol)
protocol - The protocolpublic String getScope()
public void setScope(String scope)
scope - The scope namepublic List<Argument> getArguments()
public List<RoleInstantiation> getRoleInstantiations()
public RoleInstantiation getRoleInstantiation(RoleDecl role)
role - The rolepublic void visit(GVisitor visitor)
public void toText(StringBuffer buf, int level)
toText in class ModelObjectbuf - The text bufferlevel - The indentation level, if relevantCopyright © 2014. All Rights Reserved.