public class GInterruptible extends GSinglePathActivity
| Modifier and Type | Class and Description |
|---|---|
static class |
GInterruptible.Interrupt
This class represents the interrupt definition.
|
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
GInterruptible()
This is the default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
GBlock |
getBlock()
This method returns the activities.
|
List<GInterruptible.Interrupt> |
getInterrupts()
This method gets the interrupts.
|
String |
getScope()
This method returns the scope name.
|
int |
hashCode() |
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 |
setBlock(GBlock block)
This method sets the block.
|
void |
setInterrupts(List<GInterruptible.Interrupt> interrupts)
This method sets the interrupts.
|
void |
setScope(String scope)
This method sets the scope name.
|
String |
toString() |
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 boolean isRoleInvolved(RoleDecl role)
isRoleInvolved in class GActivitypublic void identifyInvolvedRoles(Set<Role> roles)
identifyInvolvedRoles in class GActivityroles - The set of involved rolespublic String getScope()
public void setScope(String scope)
scope - The scope namepublic GBlock getBlock()
getBlock in class GSinglePathActivitypublic void setBlock(GBlock block)
block - The blockpublic void setInterrupts(List<GInterruptible.Interrupt> interrupts)
interrupts - The interruptspublic List<GInterruptible.Interrupt> getInterrupts()
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.