public class DeduplicateCDROp
extends java.lang.Object
implements com.highdeal.hci.MessageOperation
InvalidCDRExceptionThe 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 and Description |
|---|
DeduplicateCDROp()
modifies a CDR in database
|
| 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.Integer |
getBatchRatingGroupId()
Gets the batch rating group Id.
This information will be used in server side in order for better use of database partition. |
java.lang.Long |
getCDRID()
Gets the CDR unique ID.
|
java.util.Date |
getConsumptionDate()
Gets the consumption date of the CDR.
This information will be used in server side in order for better use of database partition. |
java.lang.String |
getName()
Gets the name.
|
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 |
setBatchRatingGroupId(java.lang.Integer batchRatingGroupId)
Sets the batch rating group Id.
This information will be used in server side in order for better use of database partition. |
void |
setCDRID(java.lang.Long cdrID)
Sets the CDR unique ID.
|
void |
setConsumptionDate(java.util.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. |
public java.lang.String getName()
getName in interface com.highdeal.hci.MessageOperationpublic java.lang.Long getCDRID()
public void setCDRID(java.lang.Long cdrID)
cdrID - the CDR unique ID.public void setConsumptionDate(java.util.Date consumptionDate)
consumptionDate - the consumption date of the CDR to modifypublic java.util.Date getConsumptionDate()
public void setBatchRatingGroupId(java.lang.Integer batchRatingGroupId)
batchRatingGroupId - the batch rating group Idpublic java.lang.Integer getBatchRatingGroupId()
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic 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 addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into