|
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.tif.TransactionSet
public class TransactionSet
This class represents a set of transactions computed by the rating engine. There are two kinds of transactions. The master transaction comes from the master charge that initiates the rating process. The dependent ones come from the dependent charges linked to the master charge.
Transaction| XML Schema Fragment |
<xs:element name="transacSet" type="TransactionSetType"/>
<xs:complexType name="TransactionSetType">
<xs:sequence>
<xs:element name="master" type="TransactionType" minOccurs="0" maxOccurs="1"/>
<xs:element name="dependent" type="TransactionType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType> |
| Constructor Summary | |
|---|---|
TransactionSet()
Builds an empty transaction set. |
|
| Method Summary | |
|---|---|
void |
adaptTransactionAmounts()
|
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. |
void |
addDependent(Transaction t)
Adds a dependent transaction to this transaction set. |
java.util.List<Transaction> |
getDependents()
Returns the dependent transactions. |
Transaction |
getMaster()
Returns the master transaction. |
java.lang.String |
getName()
|
int |
getOrigin()
Returns the origin of this set. |
java.lang.Integer |
getSnapshotId()
|
TransactionSet |
getTransactionSet(boolean isFilterTransactions)
Gets the transactionSet according to the isFilterTransaction value. |
java.lang.Long |
getTransactionSetID()
Returns the transaction set ID. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
marshal(XMLOutputter output,
java.lang.String tagName)
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setMaster(Transaction m)
Sets master transaction. |
void |
setSnapshotIdIfNull(java.lang.Integer snapshotId)
|
void |
setTransactionSetID(java.lang.Long id)
Sets transaction set ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionSet()
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.Long getTransactionSetID()
public void setTransactionSetID(java.lang.Long id)
id - the transaction set ID.public Transaction getMaster()
public void setMaster(Transaction m)
m - the master transaction.public java.util.List<Transaction> getDependents()
public void addDependent(Transaction t)
t - the dependent transaction to add.public int getOrigin()
usage,
recurring,
oneshot.
public void setSnapshotIdIfNull(java.lang.Integer snapshotId)
public java.lang.Integer getSnapshotId()
public TransactionSet getTransactionSet(boolean isFilterTransactions)
isFilterTransactions - true if the returned transactions of transactionSet must be filtered, false otherwise.
public void adaptTransactionAmounts()
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - the XML attributes of the current tag.
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 addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - the character data to be added.public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - the XML output to marshall the object into.
public void marshal(XMLOutputter output,
java.lang.String tagName)
|
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.