public class SearchMappingTableOp extends MessageOperationAdapter implements XMLMapping
mapping table in master data (pricing catalog) of a service provider.
Send to the system, it search a Mapping Table.
It is composed of the filter used to perform the search (only Mapping Table that matches
with this filter are returned).
SearchMappingTableResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchMappingTable">
<xs:complexType>
<xs:sequence>
<xs:element ref="mappingTableSearchFilter" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="withRows" type="xs:boolean" use="optional" default="true" />
<xs:attribute name="withVersions" type="xs:boolean" use="optional" default="false" />
</xs:complexType>
</xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | No | Yes | No | No | No | No |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_NAME
The XML tag name of this service operation: "searchMappingTable"
|
| Constructor and Description |
|---|
SearchMappingTableOp() |
| 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.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. |
MappingTableSearchFilterModel |
getFilter()
Gets the filter used for the
Mapping Table search. |
java.lang.String |
getName()
Gets the XML name of the service operation.
|
boolean |
isWithRows() |
boolean |
isWithVersions()
Gets whether table and row versions must be returned in the result of the operation.
|
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 |
setFilter(MappingTableSearchFilterModel filter)
Sets the filter used by the search
Mapping Table operation. |
void |
setWithRows(boolean withRows) |
void |
setWithVersions(boolean withVersions)
Sets whether table and row versions must be returned in the result of the operation.
|
marshalpublic static final java.lang.String OPERATION_NAME
public MappingTableSearchFilterModel getFilter()
Mapping Table search.public void setFilter(MappingTableSearchFilterModel filter)
Mapping Table operation.filter - The filter used to search a Mapping Table.public java.lang.String getName()
MessageOperationJava object representing an HCI operation into an XML representation that can
be exchanged via the HCI communication interface between your client application and the SAP CC system.
Example
activateAll
ping
getName in interface MessageOperationpublic boolean isWithRows()
public void setWithRows(boolean withRows)
withRows - the withRows to setpublic boolean isWithVersions()
true if table and row versions must be returned in the result of the operation, false otherwisepublic void setWithVersions(boolean withVersions)
withVersions - true if table and row versions must be returned in the result of the operation, false otherwisepublic 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 constructorpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic 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 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 into