public class ParameterDecl extends ModelObject
| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterDecl.ParameterType
Parameter declaration type.
|
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
ParameterDecl()
This is the default constructor.
|
ParameterDecl(ParameterDecl pd)
This is the copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlias()
This method returns the alias of the parameter declaration.
|
String |
getDeclarationName()
This method returns the declaration name for the parameter
declaration.
|
String |
getName()
This method returns the name of the parameter declaration.
|
ParameterDecl.ParameterType |
getType()
This method returns the type of the parameter declaration.
|
int |
hashCode() |
void |
setAlias(String alias)
This method sets the alias of the parameter declaration.
|
void |
setName(String name)
This method sets the name of the parameter declaration.
|
void |
setType(ParameterDecl.ParameterType type)
This method sets the type of the parameter declaration.
|
String |
toString() |
void |
toText(StringBuffer buf,
int level)
This method generates a text representation of the protocol component.
|
void |
visit(Visitor visitor)
This method visits the model object using the supplied
visitor.
|
derivedFrom, getModule, getParent, getParent, getProperties, indent, setParentpublic ParameterDecl()
public ParameterDecl(ParameterDecl pd)
pd - The rolepublic String getName()
public void setName(String name)
name - The namepublic String getAlias()
public void setAlias(String alias)
alias - The aliaspublic ParameterDecl.ParameterType getType()
public void setType(ParameterDecl.ParameterType type)
type - The typepublic String getDeclarationName()
public void visit(Visitor visitor)
visit in class ModelObjectvisitor - The visitorpublic void toText(StringBuffer buf, int level)
toText in class ModelObjectbuf - The text bufferlevel - The indentation level, if relevantCopyright © 2014. All Rights Reserved.