|
SAP Convergent Charging
Java and XML APIs (BART) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.bart.hci.ModifyCDROp
public class ModifyCDROp
This operation allows to modify a CDR.
InvalidCDRExceptionThe XML APIs specify the following XSD fragment:
XSD 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)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable marsh)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
CDRModel |
getCDR()
Gets the CDR. |
int |
getMode()
Gets the modification mode |
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 |
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 |
|---|
public static final int MODIFY_MODE
public static final int MODIFY_AND_DEDUPLICATE_MODE
public static final int MODIFY_AND_REJECT_DUPLICATE_MODE
| Constructor Detail |
|---|
public ModifyCDROp()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface com.highdeal.hci.MessageOperationpublic CDRModel getCDR()
public void setCDR(CDRModel cdr)
cdr - the CDRModel.public int getMode()
public void setMode(int modificationMode)
modificationMode - public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable marsh)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childmarsh - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||