|
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.CreateCDROp
public class CreateCDROp
This operation allows to create a CDR which is not link to any Acquisition Session.
This operation should not be used in replace on AcquireCDROp.
This operation should only be used for test purpose.
InvalidCDRExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createCDR">
<xs:complexType>
<xs:sequence>
<xs:element ref="cdr" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="mode" type="CreationModeType"/>
</xs:complexType>
</xs:element><xs:simpleType name="CreationModeType">
<xs:restriction base="xs:string">
<xs:enumeration value="create"/>
<xs:enumeration value="createAndDeduplicate"/>
<xs:enumeration value="createAndRejectDuplicate"/>
</xs:restriction>
</xs:simpleType>
| Field Summary | |
|---|---|
static int |
CREATE_AND_DEDUPLICATE_MODE
In this mode, status of duplicate CDR is set to duplicate. |
static int |
CREATE_AND_REJECT_DUPLICATE_MODE
In this mode, duplicate CDR are rejected. |
static int |
CREATE_MODE
In this mode, the CDR is created without de-duplication detection. |
| Constructor Summary | |
|---|---|
CreateCDROp()
Builds an empty operation. |
|
| Method Summary | |
|---|---|
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 CDR. |
int |
getMode()
Gets the creation 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 creationMode)
Sets the creation mode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CREATE_MODE
public static final int CREATE_AND_DEDUPLICATE_MODE
public static final int CREATE_AND_REJECT_DUPLICATE_MODE
| Constructor Detail |
|---|
public CreateCDROp()
| 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 creationMode)
creationMode - 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 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)
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 | ||||||||