public class ConsolidateCDRBulkResult
extends java.lang.Object
implements com.highdeal.hci.OperationResult
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="consolidateCDRBulkResult">
<xs:complexType>
<xs:attribute name="nbCdrSuccess" type="xs:integer" use="required"/>
<xs:attribute name="nbCdrFailed" type="xs:integer" use="required" />
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
ConsolidateCDRBulkResult()
Builds an empty consolidate cdr bulk 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. |
int |
getNbCdrFailed()
Gets the number of CDR where consolidation failed.
|
int |
getNbCdrSuccess()
Gets the number of CDR successfully consolidated.
|
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 |
setResult(int success,
int failed)
Sets the number of success and the number of failed of consolidation.
|
public ConsolidateCDRBulkResult()
public void setResult(int success,
int failed)
success - the number of CDRs successfully consolidatedfailed - the number of CDRs where consolidation failed.public int getNbCdrFailed()
public int getNbCdrSuccess()
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