public class GCustomActivity extends GActivity
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
GCustomActivity()
This is the default constructor.
|
GCustomActivity(GCustomActivity act)
This is the copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getRoles()
This method returns the roles associated with the custom activity.
|
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 |
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 GCustomActivity()
public GCustomActivity(GCustomActivity act)
act - The custom activity to copypublic boolean isRoleInvolved(RoleDecl role)
isRoleInvolved in class GActivitypublic void identifyInvolvedRoles(Set<Role> roles)
identifyInvolvedRoles in class GActivityroles - The set of involved rolespublic List<String> getRoles()
public 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.