SAP CC 3.0 BART API

com.highdeal.bart.hci
Class AcquireCDRResult

java.lang.Object
  extended by com.highdeal.bart.hci.AcquireCDRResult

public class AcquireCDRResult
extends java.lang.Object

This class conveys the result of AcquireCDROp operation.

This result is a sequence of CDRModel which have been acquired.


XML Schema 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 Summary
AcquireCDRResult()
          Builds an empty AcquireCDRResult.
 
Method Summary
 void addCharacterData(java.lang.String cData)
           
 void addChild(java.lang.String tagName, XMLMarshallable child)
           
 CDRModel getCDR()
          Gets the cdr.
 java.util.Vector<CDRModel> getCDRs()
          Gets the cdr list.
 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)
           
 void setAttributes(XMLAttributes atts)
           
 void setCDR(CDRModel cdr)
          Sets the cdr(internal use).
 void setCDRs(java.util.Vector<CDRModel> list)
          Sets the cdrs list.
 void setNbCDRDuplicate(long nbCDRDuplicate)
          sets the number of duplicate CDRs for this acquition operation (internal use).
 void setNbCDRNew(long nbCDRNew)
          sets the number of new CDRs for this acquition operation (internal use).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcquireCDRResult

public AcquireCDRResult()
Builds an empty AcquireCDRResult.

Method Detail

setCDRs

public void setCDRs(java.util.Vector<CDRModel> list)
Sets the cdrs list.

Parameters:
list - a vector of CDRModel.

getCDRs

public java.util.Vector<CDRModel> getCDRs()
Gets the cdr list. This method must be called by the client, if the current operation on cdrs must return a list of cdrs.

Returns:
a vector of CDRModel.

getCDR

public CDRModel getCDR()
Gets the cdr.

Returns:
the CDRModel.

setCDR

public void setCDR(CDRModel cdr)
Sets the cdr(internal use).

Parameters:
cdr - the cdrModel.

hasDuplicate

public boolean hasDuplicate()
Gets the has duplicate status for this acquisition operation.

Returns:
true if at least one of the CDRModel submited is a duplicate.

getNbCDRDuplicate

public long getNbCDRDuplicate()
gets the number of duplicate CDRs for this acquition operation.

Returns:
the number of duplicate CDRs for this acquition operation.

setNbCDRDuplicate

public void setNbCDRDuplicate(long nbCDRDuplicate)
sets the number of duplicate CDRs for this acquition operation (internal use). param the number of duplicate CDRs for this acquition operation.


getNbCDRNew

public long getNbCDRNew()
gets the number of new CDRs for this acquition operation.

Returns:
the number of new CDRs for this acquition operation.

setNbCDRNew

public void setNbCDRNew(long nbCDRNew)
sets the number of new CDRs for this acquition operation (internal use). param the number of new CDRs for this acquition operation.


setAttributes

public void setAttributes(XMLAttributes atts)

addCharacterData

public void addCharacterData(java.lang.String cData)

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)

marshal

public void marshal(XMLOutputter output)

getOperandReference

public java.lang.String getOperandReference()

SAP CC 3.0 BART API

(c) Copyright 2011 SAP AG. All rights reserved. SAP Convergent Charging 3.0