public abstract class CDROperationResult
extends java.lang.Object
implements com.highdeal.hci.OperationResult
| Constructor and Description |
|---|
CDROperationResult(java.lang.String resultTagName,
boolean singleton)
Builds an CDROperationResult without CDR.
|
| 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. |
CDRModel |
getCDR()
Gets the cdr.
|
java.util.Vector<CDRModel> |
getCDRs()
Gets the cdr list.
|
java.lang.String |
getOperandReference() |
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 |
setCDR(CDRModel cdr)
Sets the cdr(internal use).
|
void |
setCDRs(java.util.Vector<CDRModel> list)
Sets the cdrs list.
|
public CDROperationResult(java.lang.String resultTagName,
boolean singleton)
resultTagName - the operation result name.singleton - is at true if there is only one
result(cdr).public void setCDRs(java.util.Vector<CDRModel> list)
list - a vector of CDRModel.public java.util.Vector<CDRModel> getCDRs()
CDRModel.public CDRModel getCDR()
CDRModel.public 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 intopublic java.lang.String getOperandReference()
getOperandReference in interface com.highdeal.hci.OperationResult