|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.scribble.protocol.model.ModelObject org.scribble.protocol.model.Activity org.scribble.protocol.model.Introduces
public class Introduces
This class represents the list of roles introduced by an existing role within a Scribble definition.
Constructor Summary | |
---|---|
Introduces()
The default constructor. |
|
Introduces(Introduces i)
The copy constructor. |
Method Summary | |
---|---|
Role |
getIntroducedRole(String name)
This method returns the role associated with the supplied name. |
List<Role> |
getIntroducedRoles()
This method returns the list of roles. |
Role |
getIntroducer()
This method returns the introducing role. |
void |
setIntroducer(Role role)
This method sets the introducing role. |
String |
toString()
|
void |
visit(Visitor visitor)
This method visits the model object using the supplied visitor. |
Methods inherited from class org.scribble.protocol.model.Activity |
---|
getEnclosingProtocol |
Methods inherited from class org.scribble.protocol.model.ModelObject |
---|
derivedFrom, getAnnotations, getModel, getParent, getProperties, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Introduces()
public Introduces(Introduces i)
i
- The introduces construct to copyMethod Detail |
---|
public Role getIntroducer()
public void setIntroducer(Role role)
role
- The introducerpublic List<Role> getIntroducedRoles()
public Role getIntroducedRole(String name)
name
- The role name
public void visit(Visitor visitor)
visit
in class ModelObject
visitor
- The visitorpublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |