public class MappingTableModel extends CommonMappingTableModel implements ICatalogObject
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 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 Java class to implement in your client application or system.
CreateMappingTableOpSearchMappingTableOpMaintainMappingTableRowOp, ModifyMappingTableRowOp, DeleteMappingTableRowOpDeleteMappingTableOpConsult the SAP CC Application Help for more information about the master data.
MappingTableClassModel,
CommonMappingTableModelThe 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:attribute name="agreementId" type="xs:string" />
<xs:attribute name="version" type="xs:long" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="mappingTable" type="MappingTable" />
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of this data model: "mappingTable"
|
| Constructor and Description |
|---|
MappingTableModel() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAgreementId()
Gets the agreement identifier of the mapping table;
|
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.
|
java.lang.Long |
getVersion()
Gets the version of the mapping table.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
setAgreementId(java.lang.String id)
Sets the agreement identifier of the mapping table;
|
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.
|
void |
setVersion(java.lang.Long version)
Sets the version of the mapping table.
|
addCharacterData, addChild, getAdditionalInfoList, getClass, getDescription, getId, getMappingTableClassId, getRows, marshal, marshalChildren, setDescription, setId, setMappingTableClassIdpublic static final java.lang.String TAG_NAME
public java.lang.String getOwner()
getOwner in interface ICatalogObjectpublic void setOwner(java.lang.String owner)
owner - The owner to set to the mapping tablepublic java.lang.String getAgreementId()
public void setAgreementId(java.lang.String id)
id - The agreement identifier to set up to the mapping tablepublic java.lang.Long getVersion()
public void setVersion(java.lang.Long version)
version - the version of the mapping tablepublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallablesetAttributes in class CommonMappingTableModelatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallablemarshalAttributes in class CommonMappingTableModeloutput - The XML output to marshal the object attributes intopublic java.lang.String getTagName()
ITagNameProvidergetTagName in interface ITagNameProvider