Class MappingTableClassModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMapping,XMLMarshallable,ICatalogObject
Java class represents a mapping table class that defines the
scheme of mapping tables and subscriber mapping tables in master data.
It defines the structure of a mapping table with the number and the type of input and output columns.
This class is referenced by the MappingTableModel and SubscriberMappingTableModel objects.
A mapping table class supports up to 40 input columns and 30 output columns. In a mapping table, the input columns contain the values that are used as hash keys for finding the corresponding row that contains the list of output values to return. Thus, at least one input and one output column are required in a mapping table class.
Implementation Note
This SAP product documentation describes the technical vision of the functional or business concepts (and objects).
Refer to the SAP CC Application Help for more information about the functional concept:
- Mapping table classes in master data (pricing catalog of the service provider)
Related Operations
- See Also:
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="mappingTableClass">
<xs:complexType>
<xs:sequence>
<xs:element name="additionalInfo" type="AdditionalInfoType" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="inColumn" maxOccurs="40"/>
<xs:element ref="outColumn" maxOccurs="30"/>
</xs:sequence>
<xs:attribute name="id" type="xs:string" />
<xs:attribute name="description" type="xs:string" />
<xs:attribute name="owner" type="xs:string" />
</xs:complexType>
</xs:element>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe maximum number of input columns: 40static final intThe maximum number of output columns: 30static final StringThe XML tag name of this data model: "mappingTableClass" -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the list of information dedicated to external system.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.Gets the comprehensive description of the mapping table class.getId()Gets the mapping tableidentifier.Gets the definition of the input columns of the mapping table class.Gets the definition of the output columns of the mapping table class.getOwner()Gets theownerof the mapping table class.Gets the XML tag of this HCI model.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetDescription(String description) Sets the comprehensive description of the mapping table class.voidSets theidentifierof the mapping table class.voidSets theownerof the mapping table class.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
MAX_IN_COLUMN
public static final int MAX_IN_COLUMNThe maximum number of input columns: 40- See Also:
-
MAX_OUT_COLUMN
public static final int MAX_OUT_COLUMNThe maximum number of output columns: 30- See Also:
-
TAG_NAME
The XML tag name of this data model: "mappingTableClass"- See Also:
-
-
Constructor Details
-
MappingTableClassModel
public MappingTableClassModel()Default mapping table class constructor.
-
-
Method Details
-
getId
Gets the mapping tableidentifier.- Returns:
- A string that contains the
identifierof the mapping table class
-
setId
Sets theidentifierof the mapping table class.- Parameters:
id- Theidentifierto set to this mapping table class
-
getDescription
Gets the comprehensive description of the mapping table class.- Returns:
- A string that contains the text description of the mapping table class
-
setDescription
Sets the comprehensive description of the mapping table class.- Parameters:
description- Thedescriptionto set to this mapping table class
-
getOwner
Gets theownerof the mapping table class.- Specified by:
getOwnerin interfaceICatalogObject- Returns:
- A string that contains the
ownerof the mapping table class
-
setOwner
Sets theownerof the mapping table class.- Parameters:
owner- Theownerto set to this mapping table class
-
getInColumns
Gets the definition of the input columns of the mapping table class.- Returns:
- A list that contains all the input columns
-
getOutColumns
Gets the definition of the output columns of the mapping table class.- Returns:
- A list that contains all the output columns
-
getAdditionalInfoList
Gets the list of information dedicated to external system. The designer of the mapping table adds information allowing an external system tosearchits specifics mapping table. An additional information is a property defined by its name and its value.- Returns:
- The list of information dedicated to external system
-
getTagName
Gets the XML tag of this HCI model.- Specified by:
getTagNamein interfaceITagNameProvider- Returns:
- A string containing the XML tag of mapping table model
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Specified by:
marshalAttributesin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the object attributes into
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Specified by:
marshalChildrenin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the child objects into
-
getClass
Description copied from interface:XMLMappingReturns theJava classfor a specifiedXML tagand its attributes in a namespace.- Specified by:
getClassin interfaceXMLMapping- Parameters:
nsUri- The unique resource identifier of the namespace of the XML tagtag- The local part of the XML tagatts- The attributes of the XML tag- Returns:
- A
Java classwith a default constructor
-