Class SubscriberMappingTableModel

java.lang.Object
com.highdeal.mappingtable.hci.CommonMappingTableModel
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 for a service provider (Master Data related to its end customers); 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:

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 Details

    • TAG_NAME

      public static final String TAG_NAME
      The XML tag name of this data model: subscriberMappingTable
      See Also:
  • Constructor Details

    • SubscriberMappingTableModel

      public SubscriberMappingTableModel()
  • Method Details

    • getSubscriberAccountId

      public 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(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 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(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 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