Package com.highdeal.rangetable.hci
Class CreateRangeTableResult
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.hci.OperationResultAdapter
com.highdeal.rangetable.hci.CreateRangeTableResult
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,OperationResult,XMLMapping,XMLMarshallable
This class is the result of a creation operation of
Range Table.
It is composed of the:
- Range Table code
- unique identifier of the result
Operation Request
CreateRangeTableOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createRangeTableResult">
<xs:complexType>
<xs:attribute name="reference" type="xs:string" use="required"/>
<xs:attribute name="id" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
-
Field Summary
Fields -
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.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.getId()Gets the identifier of the Range table that has been created.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 the unique reference of the creation operation.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 the identifier of the created Range Table.voidsetReference(String reference) Sets the creation operation reference.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 a creation operation of aRangeTable- See Also:
-
RANGE_TABLE_ID_TAG_NAME
- See Also:
-
REFERENCE_TAG_NAME
- See Also:
-
-
Constructor Details
-
CreateRangeTableResult
public CreateRangeTableResult()
-
-
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.- Specified by:
getOperandReferencein interfaceOperationResult- Returns:
- The operand reference of the operation result
-
getReference
Gets the unique reference of the creation operation. This reference is used to identify an operation.- Returns:
- A
Stringthat contains the reference of the operation.
-
setReference
Sets the creation operation reference.- Parameters:
reference- The reference of the operation.
-
getId
Gets the identifier of the Range table that has been created.- Returns:
- The identifier of the created Range Table.
-
setId
Sets the identifier of the created Range Table.- Parameters:
id- The Range Table identifier that has been created.
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- 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.- Specified by:
addChildin interfaceXMLMarshallable- 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.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Specified by:
marshalAttributesin interfaceIXMLMarshallable- 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.- Specified by:
marshalChildrenin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the child objects into
-
getClass
Description copied from interface:XMLMappingReturns theJava classfor a specifiedXML tagand its attributes in a namespace.- Specified by:
getClassin interfaceXMLMapping- Parameters:
nsUri- The unique resource identifier of the namespace of the XML tagtag- The local part of the XML tagatts- The attributes of the XML tag- Returns:
- A
Java classwith a default constructor
-