public abstract class CommonMappingTableModel extends java.lang.Object implements IXMLMarshallable, ITagNameProvider, XMLMapping
abstract Java class facilitates the handling of mapping tables and subscriber mapping tables in
master data managed by the connected SAP CC Core Server system and stored in its back-end database system.
It defines the common structure of mapping tables and subscriber mapping tables: rows with input and output columns filled, reference of the mapping table class;
additional information elements.
Note
Refer to the SAP CC Application Help in the SAP CC 5.0 product documentation for more information about:
Consult the Features, Master Data, and Processes and Functions sections.
MappingTableModel,
SubscriberMappingTableModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="CommonMappingTable" abstract="true">
<xs:sequence>
<xs:element name="description" type="DescriptionType" minOccurs="0" maxOccurs="1" />
<xs:element name="additionalInfo" type="AdditionalInfoType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="mappingTableRow" type="MappingTableRow" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="id" type="xs:string" />
<xs:attribute name="mappingTableClassId" type="xs:string" />
</xs:complexType>
| Constructor and Description |
|---|
CommonMappingTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String CData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.util.List<AdditionalInfoModel> |
getAdditionalInfoList()
Gets the list of information dedicated to external system.
|
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
java.lang.String |
getDescription()
Gets the comprehensive description of the mapping table.
|
java.lang.String |
getId()
Gets the mapping table ID.
|
java.lang.String |
getMappingTableClassId()
Gets the code of the
mapping table class used by this business data table. |
java.util.List<MappingTableRowModel> |
getRows()
Gets the list of the rows contained into this table instance.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setDescription(java.lang.String description)
Sets the comprehensive description of the mapping table.
|
void |
setId(java.lang.String id)
Sets the ID of the mapping table.
|
void |
setMappingTableClassId(java.lang.String mappingTableClassId)
Sets the mapping table class code that contains the table scheme.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTagNamepublic java.lang.String getId()
public void setId(java.lang.String id)
id - The identifier to set to the mapping table (or subscriber mapping table)public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The text description of the mapping tablepublic java.lang.String getMappingTableClassId()
mapping table class used by this business data table.MappingTableClassModelpublic void setMappingTableClassId(java.lang.String mappingTableClassId)
mappingTableClassId - The identifier of the mapping table class to usepublic java.util.List<AdditionalInfoModel> getAdditionalInfoList()
search its specifics mapping table.
An additional information is a property defined by its name and its value.public java.util.List<MappingTableRowModel> getRows()
MappingTableRowModelpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String CData)
XMLMarshallableaddCharacterData in interface XMLMarshallableCData - The character data to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface IXMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tagJava class with a default constructor