SAP CC 3.0 BART API

com.highdeal.bart.hci
Class ModifyCDROp

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

public class ModifyCDROp
extends java.lang.Object

This operation allows to modify a CDR.

Operation Failure Exception :
InvalidCDRException

XML Schema Fragment
<xs:element name="modifyCDR">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="cdr" minOccurs="1" maxOccurs="1"/>
     </xs:sequence>
     <xs:attribute name="mode" type="ModifyCDRModeType"/>
   </xs:complexType>
 </xs:element>
<xs:simpleType name="ModifyCDRModeType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="modify"/>
     <xs:enumeration value="modifyAndDeduplicate"/>
     <xs:enumeration value="modifyAndRejectDuplicate"/>
   </xs:restriction>
 </xs:simpleType>

Field Summary
static int MODIFY_AND_DEDUPLICATE_MODE
          In this mode, the CDR is modified, and a de-duplication detection is performed.
static int MODIFY_AND_REJECT_DUPLICATE_MODE
          In this mode, if the CDR is detected as duplicate, the CDR is not modified.
static int MODIFY_MODE
          In this mode, the CDR is modified and no de-duplication detection is performed.
 
Constructor Summary
ModifyCDROp()
          Modifies a CDR in database Default modification mode is
 
Method Summary
 void addCharacterData(java.lang.String cData)
           
 void addChild(java.lang.String tagName, XMLMarshallable marsh)
           
 CDRModel getCDR()
          Gets the CDR.
 int getMode()
          Gets the modification mode
 java.lang.String getName()
          Gets the name.
 void marshal(XMLOutputter output)
           
 void setAttributes(XMLAttributes atts)
           
 void setCDR(CDRModel cdr)
          Sets the CDR.
 void setMode(int modificationMode)
          This indicates whether a deduplicate process should be made when modifying a CDR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODIFY_MODE

public static final int MODIFY_MODE
In this mode, the CDR is modified and no de-duplication detection is performed.

See Also:
Constant Field Values

MODIFY_AND_DEDUPLICATE_MODE

public static final int MODIFY_AND_DEDUPLICATE_MODE
In this mode, the CDR is modified, and a de-duplication detection is performed.

See Also:
Constant Field Values

MODIFY_AND_REJECT_DUPLICATE_MODE

public static final int MODIFY_AND_REJECT_DUPLICATE_MODE
In this mode, if the CDR is detected as duplicate, the CDR is not modified.

See Also:
Constant Field Values
Constructor Detail

ModifyCDROp

public ModifyCDROp()
Modifies a CDR in database Default modification mode is

Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name.

getCDR

public CDRModel getCDR()
Gets the CDR.

Returns:
the CDRModel.

setCDR

public void setCDR(CDRModel cdr)
Sets the CDR.

Parameters:
cdr - the CDRModel.

getMode

public int getMode()
Gets the modification mode

Returns:
mode

setMode

public void setMode(int modificationMode)
This indicates whether a deduplicate process should be made when modifying a CDR

Parameters:
modificationMode -

setAttributes

public void setAttributes(XMLAttributes atts)

addCharacterData

public void addCharacterData(java.lang.String cData)

addChild

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

marshal

public void marshal(XMLOutputter output)

SAP CC 3.0 BART API

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