|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.BatchRatingGroupModel
public class BatchRatingGroupModel
Transactive may handle batch and real time at the same time. Some subscriptions are rated
using BART server whereas others may be charged using other mechanism.
Batch rating group is used to represent a set of hybrid and/or
offline subscriptions that share common rating
(and implicitly billing) cycles.
| XML Schema Fragment |
<xs:element name="batchRatingGroup">
<xs:complexType>
<xs:attribute name="id" type="xs:integer" />
<xs:attribute name="code" type="xs:string" />
<xs:attribute name="description" type="xs:string" />
</xs:complexType>
</xs:element> |
| Field Summary | |
|---|---|
static short |
BATCH_RATING_GROUP_UNSET
|
static short |
DEFAULT_BATCH_RATING_GROUP_ID
|
static short |
MAX_BATCH_RATING_GROUP_ID
|
static java.lang.String |
OPERATION_NAME
|
| Constructor Summary | |
|---|---|
BatchRatingGroupModel()
|
|
BatchRatingGroupModel(short batchRatingGroupId,
java.lang.String code,
java.lang.String description)
Creates a batch rating group uniquely identified by its batch rating group identifier (shared with BART server, if available) and its batch rating group code. |
|
| 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 objects, the child represents
the marshallable object to be added into the content tree. |
int |
compareTo(BatchRatingGroupModel batchRatingGroup)
|
java.lang.String |
getBatchRatingGroupCode()
Returns the batch rating group code that must be not empty and must be unique. |
java.lang.String |
getBatchRatingGroupDescription()
Returns the batch rating group description that must be not empty. |
short |
getBatchRatingGroupId()
Returns the batch rating group identifier that must be unique. |
static java.lang.String |
getName()
Gets the name of the related XML element. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setBatchRatingGroupCode(java.lang.String code)
Sets the batch rating group code that must be not empty and must be unique. |
void |
setBatchRatingGroupDescription(java.lang.String description)
Sets the batch rating group description that must be not empty. |
void |
setBatchRatingGroupId(short id)
Sets the batch rating group identifier that must be unique. |
java.lang.String |
toString()
|
boolean |
validate()
Checks that identifier, name and description have been correctly filled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
public static final short BATCH_RATING_GROUP_UNSET
public static final short DEFAULT_BATCH_RATING_GROUP_ID
public static final short MAX_BATCH_RATING_GROUP_ID
| Constructor Detail |
|---|
public BatchRatingGroupModel()
public BatchRatingGroupModel(short batchRatingGroupId,
java.lang.String code,
java.lang.String description)
batchRatingGroupId - the unique identifier of the batch rating group. This identifier must be greater
than DEFAULT_BATCH_RATING_GROUP_ID and smaller than MAX_BATCH_RATING_GROUP_ID.code - the code of the batch rating group, must not be emptydescription - the description of the batch rating group, must not be empty| Method Detail |
|---|
public static java.lang.String getName()
public final short getBatchRatingGroupId()
public void setBatchRatingGroupId(short id)
id - the batch rating group identifierpublic final java.lang.String getBatchRatingGroupCode()
public void setBatchRatingGroupCode(java.lang.String code)
code - the batch rating group codepublic final java.lang.String getBatchRatingGroupDescription()
public void setBatchRatingGroupDescription(java.lang.String description)
description - the batch rating group description
public boolean validate()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic int compareTo(BatchRatingGroupModel batchRatingGroup)
compareTo in interface java.lang.Comparable<BatchRatingGroupModel>public 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 represents
the marshallable object to be added into the content tree.
addChild in interface XMLMarshallabletagName - the name of tag for the child.child - the child to be added.public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - the XML output to marshall the object into.public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - the XML attributes of the current tag.public java.lang.String toString()
toString in class java.lang.Object
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.