com.highdeal.mappingtable.hci
Class SubscriberMappingTableModel

java.lang.Object
  extended by com.highdeal.mappingtable.hci.CommonMappingTableModel
      extended by com.highdeal.mappingtable.hci.SubscriberMappingTableModel
All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMapping, XMLMarshallable

public class SubscriberMappingTableModel
extends CommonMappingTableModel
implements ITagNameProvider

This Java class represents a subscriber mapping table in customer master data owned by a service provider; A subscriber mapping table refers to a subscriber account and is an instance of a mapping table class.

A subscriber mapping table can be shared between several contracts relating to the same subscriber account.

Structure

It contains rows with input and output column filled. Several versions of a row can be defined in the table depending on different periods of time.

Version Management

Consider that a row can have different versions.

Related Operations

See Also:
MappingTableClassModel, CommonMappingTableModel

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:complexType name="SubscriberMappingTable">
   <xs:complexContent>
     <xs:extension base="CommonMappingTable">
       <xs:attribute name="subscriberAccountId" type="xs:string" />
       <xs:attribute name="subscriberAccountServiceProviderName" type="xs:string" />
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>


 <xs:element name="subscriberMappingTable" type="SubscriberMappingTable" />


Field Summary
static java.lang.String TAG_NAME
          The XML tag name of this data model: subscriberMappingTable
 
Constructor Summary
SubscriberMappingTableModel()
           
 
Method Summary
 java.lang.String getSubscriberAccountId()
          Gets the identifier of the subscriber account that is associated to this subscriber mapping table.
 java.lang.String getSubscriberAccountServiceProviderName()
          Gets the subscriber account service provider name of the subscriber mapping table.
 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 setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the element being processed.
 void setSubscriberAccountId(java.lang.String subscriberAccountId)
          Sets the subscriber account identifier that the subscriber mapping table refers to.
 void setSubscriberAccountServiceProviderName(java.lang.String subscriberAccountServiceProviderName)
          Sets the service provider name of the subscriber mapping table; This name is the service provider name that is set in the subscriber account associated to this table.
 
Methods inherited from class com.highdeal.mappingtable.hci.CommonMappingTableModel
addCharacterData, addChild, getAdditionalInfoList, getClass, getId, getMappingTableClassId, getRows, marshal, marshalChildren, setId, setMappingTableClassId
 
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 tag name of this data model: subscriberMappingTable

See Also:
Constant Field Values
Constructor Detail

SubscriberMappingTableModel

public SubscriberMappingTableModel()
Method Detail

getSubscriberAccountId

public java.lang.String getSubscriberAccountId()
Gets the identifier of the subscriber account that is associated to this subscriber mapping table.

Returns:
A string that contains the ID of the subscriber account of the subscriber mapping table

setSubscriberAccountId

public void setSubscriberAccountId(java.lang.String subscriberAccountId)
Sets the subscriber account identifier that the subscriber mapping table refers to.

Parameters:
subscriberAccountId - The subscriber account identifier to set to the subscriber mapping table

getSubscriberAccountServiceProviderName

public java.lang.String getSubscriberAccountServiceProviderName()
Gets the subscriber account service provider name of the subscriber mapping table.

The name of the service provider matches the catalog owner.

Returns:
The name of the service provider of the mapping table

setSubscriberAccountServiceProviderName

public void setSubscriberAccountServiceProviderName(java.lang.String subscriberAccountServiceProviderName)
Sets the service provider name of the subscriber mapping table; This name is the service provider name that is set in the subscriber account associated to this table.

The service provider is the final owner of the master data and customer master data.

Note

The service provider name must be the same as the owner defined in the pricing catalog.

Parameters:
subscriberAccountServiceProviderName - The name of the service provider to set in the subscriber mapping table

setAttributes

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

Specified by:
setAttributes in interface XMLMarshallable
Overrides:
setAttributes in class CommonMappingTableModel
Parameters:
atts - The XML attributes of the current element

marshalAttributes

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

Specified by:
marshalAttributes in interface IXMLMarshallable
Overrides:
marshalAttributes in class CommonMappingTableModel
Parameters:
output - The XML output to marshal the object attributes into

getTagName

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

Specified by:
getTagName in interface ITagNameProvider
Returns:
The XML tag name

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