Package com.highdeal.mappingtable.hci
Class MaintainMappingTableRowResult
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.hci.OperationResultAdapter
com.highdeal.mappingtable.hci.MaintainMappingTableRowResult
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,OperationResult,XMLMarshallable
This class represents the result of the
Maintain Mapping Table Row operation.
It is composed of the:
- Mapping Table code
- unique identifier of the maintain operation
Operation Request
MaintainMappingTableRowOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="maintainMappingTableRowResult">
<xs:complexType>
<xs:attribute name="reference" type="xs:string" use="required" />
<xs:attribute name="mappingTableId" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe value of this constant represents the previously used XML tag of the result of the maintain operation of aMappingTable.
Backward compatibility - BacklogItem : 131 (Multiple table transaction)static final StringThe value of this constant represents the XML tag of the result of the maintain operation of aMappingTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the Mapping Table identifier that owns the maintained rows.Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.Gets thereferencewhich is the unique identifier defined by the persistence layer Mapping Table.Gets the XML tag name of theHCI operation result.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets thecompatibilityResultNametotrue.voidsetMappingTableId(String mappingTableId) Sets the identifier of the modified Mapping Table that contains all the maintained rows.voidsetReference(String reference) Sets thereferencewhich is the unique identifier defined by the persistence layer Mapping Table.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
RESULT_NAME
The value of this constant represents the XML tag of the result of the maintain operation of aMappingTable- See Also:
-
DEPRECATED_RESULT_NAME
The value of this constant represents the previously used XML tag of the result of the maintain operation of aMappingTable.
Backward compatibility - BacklogItem : 131 (Multiple table transaction)- See Also:
-
-
Constructor Details
-
MaintainMappingTableRowResult
public MaintainMappingTableRowResult()
-
-
Method Details
-
getTagName
Description copied from class:OperationResultAdapterGets the XML tag name of theHCI operation result.- Specified by:
getTagNamein interfaceITagNameProvider- Specified by:
getTagNamein classOperationResultAdapter- Returns:
- The XML tag name
-
getOperandReference
Description copied from interface:OperationResultGets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.- Returns:
- The operand reference of the operation result
-
getMappingTableId
Gets the Mapping Table identifier that owns the maintained rows.- Returns:
- The identifier of the modified Mapping Table that contains the maintained rows.
-
setMappingTableId
Sets the identifier of the modified Mapping Table that contains all the maintained rows.- Parameters:
mappingTableId- The identifier of the modified Mapping Table that owns the row maintained.
-
getReference
Gets thereferencewhich is the unique identifier defined by the persistence layer Mapping Table.- Returns:
- the
referencewhich is the unique identifier defined by the persistence layer Mapping Table.
-
setReference
Sets thereferencewhich is the unique identifier defined by the persistence layer Mapping Table.- Parameters:
reference- thereferencewhich is the unique identifier defined by the persistence layer Mapping Table.
-
setCompatibilityMode
public void setCompatibilityMode()Sets thecompatibilityResultNametotrue. This update will change theRESULT_NAMEto aDEPRECATED_RESULT_NAMEfor backward compatibility with clients. -
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Parameters:
cData- The character data to be added
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Parameters:
output- TheXML outputto marshal the object attributes into
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Parameters:
output- TheXML outputto marshal the child objects into
-