public class SearchCodeOp extends java.lang.Object implements MessageOperation
Searched objects can be:
ProductChargeable Item ClassCharged Item ClassPricing MacroTranslation TableTier TableMapping Table ClassMapping Table Range Table ClassRange TableOfferCharge ComponentCharge PlanRefill Item ClassRefill LogicRefill Record ClassRefill PlanRefill LogicCharged Item Aggregation PolicyAllowance LogicAllowance PlanMonitoring Plan SearchCodeResult ServerFailureExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchCode">
<xs:complexType>
<xs:attribute name="object" type="CatalogEntryTypeType"/>
<xs:attribute name="withModelCompatibility" type="xs:boolean"/>
<xs:attribute name="owner" type="xs:string"/>
</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 |
| Constructor and Description |
|---|
SearchCodeOp() |
| 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.String |
getName()
Gets the name.
|
java.lang.String |
getObjectType()
Gets the object type.
|
java.lang.String |
getOwner()
Gets the owner.
|
boolean |
getWithModelCompatibility() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setObjectType(java.lang.String object)
Sets the object type.
|
void |
setOwner(java.lang.String o)
Sets the owner.
|
void |
setWithModelCompatibility(boolean withCompatibility)
Sets the model compatibility.
|
public static final java.lang.String OPERATION_NAME
public java.lang.String getName()
getName in interface MessageOperationpublic java.lang.String getObjectType()
public void setObjectType(java.lang.String object)
object - The object typepublic java.lang.String getOwner()
public void setOwner(java.lang.String o)
o - The ownerpublic void setWithModelCompatibility(boolean withCompatibility)
withCompatibility - The compatibilitypublic boolean getWithModelCompatibility()
public 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 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 marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into