|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.SubscriptionCounterSnapshotModel
public class SubscriptionCounterSnapshotModel
This class represents a set of counter snapshots recorded for a subscription.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="subscriptionCounterSnapshot">
<xs:complexType>
<xs:sequence>
<xs:element ref="counterSnapshot" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="subscriptionCode" type="xs:string" />
</xs:complexType>
</xs:element>
| Field Summary | |
|---|---|
static java.lang.String |
MODEL_NAME
The XML name of the model: subscriptionCounterSnapshot |
| Constructor Summary | |
|---|---|
SubscriptionCounterSnapshotModel()
Builds an empty SubscriptionCounterSnapshotModel object |
|
SubscriptionCounterSnapshotModel(java.lang.String subscriptionCode)
Builds a SubscriptionCounterSnapshotModel object with the code of a subscription |
|
| 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. |
void |
addCounterSnapshot(CounterSnapshotModel counterSnapshot)
Adds a counter snapshot to this object |
java.util.List<CounterSnapshotModel> |
getCounterSnapshots()
Gets the list of counter snapshots contained in this object |
java.lang.String |
getSubscriptionCode()
Gets the code of the subscription associated to this object |
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 |
setCounterSnapshots(java.util.List<CounterSnapshotModel> counterSnapshots)
Sets the list of counter snapshots contained in this object |
void |
setSubscriptionCode(java.lang.String subscriptionCode)
Sets the code of the subscription associated to this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MODEL_NAME
| Constructor Detail |
|---|
public SubscriptionCounterSnapshotModel()
SubscriptionCounterSnapshotModel object
public SubscriptionCounterSnapshotModel(java.lang.String subscriptionCode)
SubscriptionCounterSnapshotModel object with the code of a subscription
subscriptionCode - The code of a subscription| Method Detail |
|---|
public java.lang.String getSubscriptionCode()
subscription associated to this object
subscription associated to this objectpublic void setSubscriptionCode(java.lang.String subscriptionCode)
subscription associated to this object
subscriptionCode - The code of the subscription associated to this objectpublic java.util.List<CounterSnapshotModel> getCounterSnapshots()
counter snapshots contained in this object
counter snapshots to set in this objectpublic void setCounterSnapshots(java.util.List<CounterSnapshotModel> counterSnapshots)
counter snapshots contained in this object
counterSnapshots - The list of counter snapshots contained in this objectpublic void addCounterSnapshot(CounterSnapshotModel counterSnapshot)
counter snapshot to this object
counterSnapshot - The counter snapshot to add to this objectpublic 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 setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic 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 | ||||||||