public class SubscriberData extends HCIModelAdapter
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>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME
The XML name of the data model: subscriberData
|
| Constructor and Description |
|---|
SubscriberData()
Builds an empty
subscriber data object. |
| Modifier and Type | Method and Description |
|---|---|
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. |
marshalpublic static final java.lang.String TAG_NAME
public SubscriberData()
subscriber data object.public java.lang.String getTagName()
ITagNameProviderpublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic 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)
XMLMarshallablecData - The character data to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallableoutput - 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