com.highdeal.rangetable.hci
Class SubscriberRangeTableModel

java.lang.Object
  extended by com.highdeal.hci.HCIModelAdapter
      extended by com.highdeal.chrono.hci.BaseChronologyModel<RangeTableRowPeriodObjectModel>
          extended by com.highdeal.rangetable.hci.CommonRangeTableModel
              extended by com.highdeal.rangetable.hci.SubscriberRangeTableModel
All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMapping, XMLMarshallable

public class SubscriberRangeTableModel
extends CommonRangeTableModel

This Java class represents a subscriber range table in customer master data; this is an instance of a range table class.

It contains rows with input and output column filled.

Related Operations

See Also:
RangeTableClassModel

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

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

 <xs:element name="subscriberRangeTable" type="SubscriberRangeTable" />


Field Summary
static java.lang.String SUB_ACCOUNT_ID
           
static java.lang.String SUB_ACCOUNT_SERVICE_PROVIDER
           
static java.lang.String TAG_NAME
          The XML tag name of the data model: "subscriberRangeTable"
 
Constructor Summary
SubscriberRangeTableModel()
           
 
Method Summary
 java.lang.String getSubscriberAccountId()
          Gets the identifier of the subscriber account, holder of the subscriber range table.
 java.lang.String getSubscriberAccountServiceProviderName()
          Gets the subscriber account service provider name of the Subscriber Range 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 of the Subscriber Range Table.
 void setSubscriberAccountServiceProviderName(java.lang.String subscriberAccountServiceProviderName)
          Sets the subscriber account service provider name of the Subscriber Range Table.
 
Methods inherited from class com.highdeal.rangetable.hci.CommonRangeTableModel
addCharacterData, addChild, getAdditionalInfoList, getClass, getDescription, getId, getRangeTableClassId, marshalChildren, setDescription, setId, setRangeTableClassId
 
Methods inherited from class com.highdeal.chrono.hci.BaseChronologyModel
getPeriod, getPeriods
 
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 tag name of the data model: "subscriberRangeTable"

See Also:
Constant Field Values

SUB_ACCOUNT_ID

public static final java.lang.String SUB_ACCOUNT_ID
See Also:
Constant Field Values

SUB_ACCOUNT_SERVICE_PROVIDER

public static final java.lang.String SUB_ACCOUNT_SERVICE_PROVIDER
See Also:
Constant Field Values
Constructor Detail

SubscriberRangeTableModel

public SubscriberRangeTableModel()
Method Detail

getSubscriberAccountId

public java.lang.String getSubscriberAccountId()
Gets the identifier of the subscriber account, holder of the subscriber range table.

Returns:
A String that contains the ID of the subscriber account that holds this subscriber range table

setSubscriberAccountId

public void setSubscriberAccountId(java.lang.String subscriberAccountId)
Sets the subscriber account identifier of the Subscriber Range Table.

Parameters:
subscriberAccountId - The identifier of the subscriber account that relates to this subscriber range table

getSubscriberAccountServiceProviderName

public java.lang.String getSubscriberAccountServiceProviderName()
Gets the subscriber account service provider name of the Subscriber Range Table.

The name of the service provider matches the catalog owner.

Returns:
The name of the service provider of the Subscriber Range Table

setSubscriberAccountServiceProviderName

public void setSubscriberAccountServiceProviderName(java.lang.String subscriberAccountServiceProviderName)
Sets the subscriber account service provider name of the Subscriber Range Table.

Parameters:
subscriberAccountServiceProviderName - The name of the service provider to set in the Subscriber Range 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 CommonRangeTableModel
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 CommonRangeTableModel
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
Overrides:
getTagName in class BaseChronologyModel<RangeTableRowPeriodObjectModel>
Returns:
The XML tag name

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