public class PayloadElement extends ModelObject
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
PayloadElement()
The default constructor.
|
PayloadElement(PayloadElement copy)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotation()
This method returns the optional annotation.
|
String |
getName()
This method returns the payload type or
parameter name.
|
void |
setAnnotation(String annotation)
This method sets the optional annotation.
|
void |
setName(String name)
This method sets the payload type or
parameter name.
|
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 PayloadElement()
public PayloadElement(PayloadElement copy)
copy - The copypublic String getAnnotation()
public void setAnnotation(String annotation)
annotation - The annotationpublic String getName()
public void setName(String name)
name - The namepublic 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.