com.highdeal.mappingtable.hci
Class MappingTableModel

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

public class MappingTableModel
extends CommonMappingTableModel
implements ICatalogObject

This Java class represents a mapping table in the pricing catalog (master data) of a service provider; A mapping table is an instance of a mapping table class.

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.

Implementation Note

Mapping tables and classes are part of the master data. Refer to the SAP CC Library (Application Help) for more information about:

If your mapping table must belong to a subscriber account or must be associated to a subset of contracts, consider the SubscriberMappingTableModel class.

Related Operations

Related Operations

Consult the SAP CC Library (Application Help) documentation for more information about the master data.

See Also:
MappingTableClassModel, CommonMappingTableModel

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:complexType name="MappingTable">
   <xs:complexContent>
     <xs:extension base="CommonMappingTable">
       <xs:attribute name="owner" type="xs:string" />
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>


 <xs:element name="mappingTable" type="MappingTable" />


Field Summary
static java.lang.String TAG_NAME
          The XML tag name of this data model: "mappingTable"
 
Constructor Summary
MappingTableModel()
           
 
Method Summary
 java.lang.String getOwner()
          Gets the owner of the mapping table; The owner of the mapping table and mapping table class used have the same owner.
 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 setOwner(java.lang.String owner)
          Sets the owner of the mapping 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: "mappingTable"

See Also:
Constant Field Values
Constructor Detail

MappingTableModel

public MappingTableModel()
Method Detail

getOwner

public java.lang.String getOwner()
Gets the owner of the mapping table; The owner of the mapping table and mapping table class used have the same owner.

Specified by:
getOwner in interface ICatalogObject
Returns:
A string that contains the owner of the mapping table

setOwner

public void setOwner(java.lang.String owner)
Sets the owner of the mapping table. The owner of the mapping table and mapping table class used have the same owner.

Parameters:
owner - The owner to set to the 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)