com.highdeal.pnr.hci
Class SubscriberData

java.lang.Object
  extended by com.highdeal.hci.HCIModelAdapter
      extended by com.highdeal.pnr.hci.SubscriberData
All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMarshallable

public class SubscriberData
extends HCIModelAdapter

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:

Note

Some of these lists may be empty.

See Also:
ImportSubscriberDataOp, ExportSubscriberDataOp

XML API for HCI

The 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

TAG_NAME

public static final java.lang.String TAG_NAME
The XML name of the data model: subscriberData

See Also:
Constant Field Values
Constructor Detail

SubscriberData

public SubscriberData()
Builds an empty subscriber data object.

Method Detail

getTagName

public java.lang.String getTagName()
Description copied from interface: ITagNameProvider
Gets the XML tag name of the HCI model.

Returns:
The XML tag name

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the element being processed.

Parameters:
atts - The XML attributes of the current element

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the object, the child representing the marshallable object which must be added to the element.

Parameters:
tagName - The name of tag for the child
child - The child to be added

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Parameters:
cData - The character data to be added

marshalAttributes

public void marshalAttributes(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the attributes of an object.

Parameters:
output - The XML output to marshal the object attributes into

marshalChildren

public void marshalChildren(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the child objects of an object.

Parameters:
output - The XML output to marshal the child objects into

getSubscriberAccountList

public java.util.List<SubscriberAccountModel> getSubscriberAccountList()
Gets the list of subscriber accounts contained in the object.

Returns:
The list of subscriber accounts contained in the object

setSubscriberAccountList

public void setSubscriberAccountList(java.util.List<SubscriberAccountModel> subscriberAccountList)
Sets the list of subscriber accounts contained in the object.

Parameters:
subscriberAccountList - The list of subscriber accounts to set in the object

getSubscriptionList

public java.util.List<SubscriptionModel> getSubscriptionList()
Gets the list of subscriptions contained in the object.

Returns:
The list of subscriptions contained in the object

setSubscriptionList

public void setSubscriptionList(java.util.List<SubscriptionModel> subscriptionList)
Sets the list of subscriptions contained in the object.

Parameters:
subscriptionList - The list of subscriptions to set in the object

getAccessList

public java.util.List<AccessModel> getAccessList()
Gets the list of accesses contained in the object.

Returns:
The list of accesses contained in the object

setAccessList

public void setAccessList(java.util.List<AccessModel> accessList)
Sets the list of accesses contained in this object.

Parameters:
accessList - The list of accesses to set in this object

getCounterSnapshotList

public java.util.List<SubscriptionCounterSnapshotModel> getCounterSnapshotList()
Gets the list of subscription counter snapshots contained in the object.

Returns:
The list of subscription counter snapshots contained in the object

setCounterSnapshotList

public void setCounterSnapshotList(java.util.List<SubscriptionCounterSnapshotModel> counterSnapshotList)
Sets the list of subscription counter snapshots contained in the object.

Parameters:
counterSnapshotList - The list of subscription counter snapshots to set in the object

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)