|
|||||||||
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.Parameter
public class Parameter
This class represents the binding between a declaration and the name of a declaration in a composed definition.
Constructor Summary | |
---|---|
Parameter()
The default constructor. |
|
Parameter(Parameter p)
This is the copy constructor. |
|
Parameter(String localName)
This constructor initializes the declaration (local name) and bound name. |
Method Summary | |
---|---|
String |
getName()
This method returns the local name. |
void |
setName(String localName)
This method sets the local name. |
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 Parameter()
public Parameter(String localName)
localName
- The local namepublic Parameter(Parameter p)
p
- The parameter to copyMethod Detail |
---|
public void setName(String localName)
localName
- The local namepublic String getName()
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 |