|
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.hci.HCIModelAdapter
com.highdeal.pnr.hci.SubscriberData
public class SubscriberData
This class represents a container for master data related to subscribers (end customers of a service provider) stored in an SAP CC system;
It can be used to export or import this customer master data for data transport or data migration purpose.
A subscriber data includes:
subscriber accounts subscriptions accesses subscription counter snapshots Note
Some of these lists may be empty.
ImportSubscriberDataOp,
ExportSubscriberDataOpThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="subscriberData">
<xs:complexType>
<xs:sequence>
<xs:element ref="subscriberAccount" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="subscription" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="access" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="subscriptionCounterSnapshot" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The XML name of the data model: subscriberData |
| Constructor Summary | |
|---|---|
SubscriberData()
Builds an empty subscriber data object. |
|
| 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. |
java.util.List<AccessModel> |
getAccessList()
Gets the list of accesses contained in the object. |
java.util.List<SubscriptionCounterSnapshotModel> |
getCounterSnapshotList()
Gets the list of subscription counter snapshots contained in the object. |
java.util.List<SubscriberAccountModel> |
getSubscriberAccountList()
Gets the list of subscriber accounts contained in the object. |
java.util.List<SubscriptionModel> |
getSubscriptionList()
Gets the list of subscriptions contained in the object. |
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model. |
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object. |
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object. |
void |
setAccessList(java.util.List<AccessModel> accessList)
Sets the list of accesses contained in this object. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setCounterSnapshotList(java.util.List<SubscriptionCounterSnapshotModel> counterSnapshotList)
Sets the list of subscription counter snapshots contained in the object. |
void |
setSubscriberAccountList(java.util.List<SubscriberAccountModel> subscriberAccountList)
Sets the list of subscriber accounts contained in the object. |
void |
setSubscriptionList(java.util.List<SubscriptionModel> subscriptionList)
Sets the list of subscriptions contained in the object. |
| Methods inherited from class com.highdeal.hci.HCIModelAdapter |
|---|
marshal |
| 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 TAG_NAME
| Constructor Detail |
|---|
public SubscriberData()
subscriber data object.
| Method Detail |
|---|
public java.lang.String getTagName()
ITagNameProvider
public void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
tagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
cData - The character data to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallable
output - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
output - The XML output to marshal the child objects intopublic java.util.List<SubscriberAccountModel> getSubscriberAccountList()
subscriber accounts contained in the object.
subscriber accounts contained in the objectpublic void setSubscriberAccountList(java.util.List<SubscriberAccountModel> subscriberAccountList)
subscriber accounts contained in the object.
subscriberAccountList - The list of subscriber accounts to set in the objectpublic java.util.List<SubscriptionModel> getSubscriptionList()
subscriptions contained in the object.
subscriptions contained in the objectpublic void setSubscriptionList(java.util.List<SubscriptionModel> subscriptionList)
subscriptions contained in the object.
subscriptionList - The list of subscriptions to set in the objectpublic java.util.List<AccessModel> getAccessList()
accesses contained in the object.
accesses contained in the objectpublic void setAccessList(java.util.List<AccessModel> accessList)
accesses contained in this object.
accessList - The list of accesses to set in this objectpublic java.util.List<SubscriptionCounterSnapshotModel> getCounterSnapshotList()
subscription counter snapshots contained in the object.
subscription counter snapshots contained in the objectpublic void setCounterSnapshotList(java.util.List<SubscriptionCounterSnapshotModel> counterSnapshotList)
subscription counter snapshots contained in the object.
counterSnapshotList - The list of subscription counter snapshots to set in the object
|
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 | ||||||||