Package com.highdeal.bart.hci
Class DeduplicateCDROp
java.lang.Object
com.highdeal.bart.hci.DeduplicateCDROp
- All Implemented Interfaces:
com.highdeal.hci.MessageOperation,XMLMarshallable
This operation allows to deduplicate a CDR.
Operation Failure Exceptions
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="deduplicateCDR">
<xs:complexType>
<xs:attribute name="cdrID" type="xs:string"/>
<xs:attribute name="consumptionDate" type="xs:dateTime" use="optional"/>
<xs:attribute name="batchRatingGroupId" type="xs:integer" use="optional"/>
</xs:complexType>
</xs:element>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the batch rating group Id.
This information will be used in server side in order for better use of database partition.getCDRID()Gets the CDR unique ID.Gets the consumption date of the CDR.
This information will be used in server side in order for better use of database partition.getName()Gets the name.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetBatchRatingGroupId(Integer batchRatingGroupId) Sets the batch rating group Id.
This information will be used in server side in order for better use of database partition.voidSets the CDR unique ID.voidsetConsumptionDate(Date consumptionDate) Sets the consumption date of the CDR.
This information will be used in server side in order for better use of database partition.
-
Constructor Details
-
DeduplicateCDROp
public DeduplicateCDROp()modifies a CDR in database
-
-
Method Details
-
getName
Gets the name.- Specified by:
getNamein interfacecom.highdeal.hci.MessageOperation- Returns:
- the name.
-
getCDRID
Gets the CDR unique ID.- Returns:
- the CDr unique ID.
-
setCDRID
Sets the CDR unique ID.- Parameters:
cdrID- the CDR unique ID.
-
setConsumptionDate
Sets the consumption date of the CDR.
This information will be used in server side in order for better use of database partition.- Parameters:
consumptionDate- the consumption date of the CDR to modify
-
getConsumptionDate
Gets the consumption date of the CDR.
This information will be used in server side in order for better use of database partition.- Returns:
- the consumption date of the CDR.
-
setBatchRatingGroupId
Sets the batch rating group Id.
This information will be used in server side in order for better use of database partition.- Parameters:
batchRatingGroupId- the batch rating group Id
-
getBatchRatingGroupId
Gets the batch rating group Id.
This information will be used in server side in order for better use of database partition.- Returns:
- batchRatingGroupId the batch rating group Id
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-