SAP CC 1.0
API 4.2 (Core)

com.highdeal.pnr.hci
Class ModifyTranslationTableOp

java.lang.Object
  extended by com.highdeal.pnr.hci.ModifyTranslationTableOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable

public class ModifyTranslationTableOp
extends java.lang.Object
implements MessageOperation

This operation class represents the modification of a translation table.

This operation may conflict with the pre-rating feature. This may lead to inconsistency if it concerns a translation table used by at least one subscription containing unresolved pre-ratings. In that case, post-ratings may be wrong. To prevent from that, the user has to be sure that his/her modification is safe regarding the pre-rating. The modification that is not safe is adding a new table version in the past (means before the date of the last pre-rating).

See Also :
ModifyTranslationTableResult
Operation Failure Exception :
InvalidModificationException
ServerFailureException
Operation available with roles :
"marketing" "admin"


XML Schema Fragment
<xs:element name="modifyTranslationTable">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="translationTable" minOccurs="1" maxOccurs="1"/>
     </xs:sequence>
     <xs:attribute name="modificationDate" type="xs:dateTime"/>
   </xs:complexType>
 </xs:element>

Operation availability :
EditionAvailable On:
RaterUpdaterBackupGuiderChargerBulkLoaderBillingAssistantEZTaxer
Ratenoyesnononononono
Chargenoyesnononononono
Billnoyesnononononono
Fullnoyesnononononono

Field Summary
static java.lang.String OPERATION_NAME
           
 
Constructor Summary
ModifyTranslationTableOp()
          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 objects, the child represents the marshallable object to be added into the content tree.
 java.util.Date getModificationDate()
          Gets the modification date.
 java.lang.String getName()
          Returns the name of the operation, that is "modifyTranslationTable".
 TranslationTableModel getTranslationTable()
          Returns the translation table to apply.
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, and of its children.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the tag beeing processed.
 void setModificationDate(java.util.Date modificationDate)
          Sets the modification date.
 void setTranslationTable(TranslationTableModel m)
          Sets the translation table to apply.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
See Also:
Constant Field Values
Constructor Detail

ModifyTranslationTableOp

public ModifyTranslationTableOp()
Builds an empty operation.

Method Detail

getName

public java.lang.String getName()
Returns the name of the operation, that is "modifyTranslationTable".

Specified by:
getName in interface MessageOperation
Returns:
"modifyTranslationTable"

getModificationDate

public java.util.Date getModificationDate()
Gets the modification date.

Returns:
the date of the modification.

setModificationDate

public void setModificationDate(java.util.Date modificationDate)
Sets the modification date.

Parameters:
modificationDate - the modification date.

getTranslationTable

public TranslationTableModel getTranslationTable()
Returns the translation table to apply.

Returns:
the translation table to apply.

setTranslationTable

public void setTranslationTable(TranslationTableModel m)
Sets the translation table to apply.

Parameters:
m - the translation table to apply.

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the tag beeing processed.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - the XML attributes of the current tag.

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - the character data to be added.

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the objects, the child represents the marshallable object to be added into the content tree.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - the name of tag for the child.
child - the child to be added.

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, and of its children.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - the XML output to marshall the object into.

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.