|
|||||||||
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.ProtocolReference
public class ProtocolReference
This class represents a protocol reference.
Constructor Summary | |
---|---|
ProtocolReference()
This is the default constructor for the protocol reference. |
|
ProtocolReference(ProtocolReference ref)
This is the copy constructor for the model reference. |
|
ProtocolReference(String name)
This is the constructor for the protocol reference. |
Method Summary | |
---|---|
String |
getName()
This method returns the name associated with the model reference. |
Role |
getRole()
This method returns the located role. |
void |
setName(String name)
This method sets the name associated with the model reference. |
void |
setRole(Role role)
This method sets the located role. |
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 ProtocolReference()
public ProtocolReference(String name)
name
- The namepublic ProtocolReference(ProtocolReference ref)
ref
- The reference to copyMethod Detail |
---|
public String getName()
public void setName(String name)
name
- The namepublic void setRole(Role role)
role
- The rolepublic Role getRole()
public void visit(Visitor visitor)
visit
in class ModelObject
visitor
- The visitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |