|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.TranslateValueOp
public class TranslateValueOp
This operation allows to request for the interrogation of a translation table instance from a set of input values and returns corresponding output values.
If the translation table does not exist, the connected SAP CC system launches
a DoesNotExistException.
TranslateValueResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="translate">
<xs:complexType>
<xs:attribute name="tableCode" type="xs:string"/>
<xs:attribute name="operator" type="xs:string"/>
<xs:attribute name="date" type="xs:dateTime"/>
<xs:attribute name="referenceDate" type="xs:dateTime" use="optional" />
<xs:attribute name="i0" type="xs:string"/>
<xs:attribute name="i1" type="xs:string"/>
<xs:attribute name="i2" type="xs:string"/>
<xs:attribute name="i3" type="xs:string"/>
<xs:attribute name="i4" 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 |
| Field Summary | |
|---|---|
static java.lang.String |
OPERATION_NAME
|
| Constructor Summary | |
|---|---|
TranslateValueOp()
Builds an empty operation. |
|
| Method Summary | |
|---|---|
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.Date |
getDate()
Returns the date used for the translate operation. |
java.lang.String |
getInValue(int i)
Returns the input value used for the translate operation. |
java.lang.String |
getName()
The name of the operation is "translate". |
int |
getOperator()
Gets the operator. |
java.util.Date |
getReferenceDate()
Returns the reference date, it used to check column "start date" and column "end date". |
java.lang.String |
getTableCode()
Returns the translation table code used for the translate operation. |
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 |
setDate(java.util.Date d)
Sets the date used for the translate operation. |
void |
setInValue(int i,
java.lang.String v)
Sets the input value used for the translate operation. |
void |
setOperator(int o)
Sets the operator. |
void |
setReferenceDate(java.util.Date d)
Sets the reference date is used to check column "start date" and column "end date". |
void |
setTableCode(java.lang.String table)
Sets the translation table code used for the translate operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
| Constructor Detail |
|---|
public TranslateValueOp()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface MessageOperationpublic java.lang.String getTableCode()
public void setTableCode(java.lang.String table)
table - The translation table code used for the translate operationpublic java.util.Date getDate()
public void setDate(java.util.Date d)
d - The date used for the translate operationpublic java.util.Date getReferenceDate()
public void setReferenceDate(java.util.Date d)
d - The date used for the translate operationpublic int getOperator()
public void setOperator(int o)
o - The operatorpublic java.lang.String getInValue(int i)
i - The rank of the input value to return
public void setInValue(int i,
java.lang.String v)
i - The rank of the input value to setv - The value used for the translate operationpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public 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)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||