public class CreateTranslationTableResult extends java.lang.Object implements OperationResult
CreateTranslationTableOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createTranslationTableResult">
<xs:complexType>
<xs:attribute name="reference" type="xs:string"/>
<xs:attribute name="code" type="xs:string"/>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
CreateTranslationTableResult()
Builds an empty result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.lang.String |
getCode()
Gets the created translation table code.
|
java.lang.String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request;
If the operation is not auditable, the operand reference is
null. |
java.lang.String |
getReference()
Gets the created translation table reference.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setCode(java.lang.String code)
Sets the created translation table code.
|
void |
setReference(java.lang.String ref)
Sets the created translation table reference.
|
public CreateTranslationTableResult()
public java.lang.String getReference()
public void setReference(java.lang.String ref)
ref - the created translation table reference.public java.lang.String getCode()
public void setCode(java.lang.String code)
code - the created translation table code.public java.lang.String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into