public class AcquireCDRResult
extends java.lang.Object
implements com.highdeal.hci.OperationResult
Acquire CDR operation and
contains a sequence of CDRs which have been acquired by the connected SAP CC BART Server system.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="acquireCDRResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="cdr" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="hasDuplicate" type="HasDuplicate"/>
<xs:attribute name="nbCDRNew" type="xs:string"/>
<xs:attribute name="nbCDRDuplicate" type="xs:string"/>
</xs:complexType>
</xs:element><xs:simpleType name="HasDuplicate">
<xs:restriction base="xs:string">
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
AcquireCDRResult()
Builds an empty AcquireCDRResult.
|
| 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 first CDR.
|
java.util.Vector<CDRModel> |
getCDRs()
Gets the list of CDRs; This method must be called by the client, if the
current operation on CDRs must return a list of CDRs.
|
long |
getNbCDRDuplicate()
Gets the number of duplicate CDRs for this acquition operation.
|
long |
getNbCDRNew()
Gets the number of new CDRs for this acquition operation.
|
java.lang.String |
getOperandReference() |
boolean |
hasDuplicate()
Gets the has duplicate status for this acquisition operation.
|
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 Only).
|
void |
setCDRs(java.util.Vector<CDRModel> list)
Sets the list of CDRs.
|
void |
setNbCDRDuplicate(long nbCDRDuplicate)
Sets the number of duplicate CDRs for this acquition operation
(Internal Use Only).
|
void |
setNbCDRNew(long nbCDRNew)
Sets the number of new CDRs for this acquition operation (Internal
Use Only).
|
public void setCDRs(java.util.Vector<CDRModel> list)
list - A vector of CDRspublic java.util.Vector<CDRModel> getCDRs()
CDRspublic boolean hasDuplicate()
CDRs submitted
is a duplicate.public long getNbCDRDuplicate()
public void setNbCDRDuplicate(long nbCDRDuplicate)
public long getNbCDRNew()
public void setNbCDRNew(long nbCDRNew)
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