Package com.highdeal.hci
Class DeleteAuditResult
java.lang.Object
com.highdeal.hci.DeleteAuditResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
The class represents the result of the
Delete Audit operation and returns the reference and the code of the removed audit.Operation Request
DeleteAuditOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="deleteAuditResult"> <xs:complexType> <xs:attribute name="code" type="xs:string"/> <xs:attribute name="ref" type="xs:string"/> </xs:complexType> </xs:element>
-
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.getCode()Gets the code of the audit that has been deleted.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 reference of the audit that has been deleted.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets the code of the audit that has been deleted.voidsetReference(String ref) Sets the reference of the audit that has been deleted.
-
Constructor Details
-
DeleteAuditResult
public DeleteAuditResult()
-
-
Method Details
-
getCode
Gets the code of the audit that has been deleted.- Returns:
- The code of the audit that has been deleted
-
setCode
Sets the code of the audit that has been deleted.- Parameters:
code- The code of the audit that has been deleted
-
getReference
Gets the reference of the audit that has been deleted.- Returns:
- The reference of the audit that has been deleted
-
setReference
Sets the reference of the audit that has been deleted.- Parameters:
ref- The reference of the audit that has been deleted
-
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
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
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
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-
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
-