|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.scribble.protocol.model.ModelObject
org.scribble.protocol.model.ProtocolModel
public class ProtocolModel

This class represents the base class for models associated with specific notations. The details associated with the notation are contained within derived classes.
| Constructor Summary | |
|---|---|
ProtocolModel()
The default constructor for the model. |
|
| Method Summary | |
|---|---|
List<ImportList> |
getImports()
This method returns the list of import definitions. |
Protocol |
getProtocol()
This method returns the definition associated with this model. |
List<Role> |
getRoles()
This method returns the distinct list of roles defined in the protocol and its nested-protocols. |
boolean |
isLocated()
This method determines whether the model is located. |
void |
setProtocol(Protocol defn)
This method set the definition associated with the model. |
void |
visit(Visitor visitor)
This method visits the model object using the supplied visitor. |
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtocolModel()
| Method Detail |
|---|
public List<ImportList> getImports()
public Protocol getProtocol()
public void setProtocol(Protocol defn)
defn - The definitionpublic boolean isLocated()
public List<Role> getRoles()
public void visit(Visitor visitor)
visit in class ModelObjectvisitor - The visitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||