Package com.highdeal.admin.hci
Class SetStandbyStatusResult
java.lang.Object
com.highdeal.admin.hci.SetStandbyStatusResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This result corresponds to the
SetStandbyStatusOp operation.XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="setStandbyStatusResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="standbyInstance" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</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.voidaddStandbyInstance(StandbyInstance standbyInstance) Adds aninstanceto the list of instances for which standby status has changed.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 list ofinstancesfor which standby status has changed.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.
-
Field Details
-
RESULT_NAME
The XML element name of the result.- See Also:
-
-
Constructor Details
-
SetStandbyStatusResult
public SetStandbyStatusResult()
-
-
Method Details
-
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
-
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
-
getStandbyInstanceList
Gets the list ofinstancesfor which standby status has changed.- Returns:
- the list of
instancesfor which standby status has changed
-
addStandbyInstance
Adds aninstanceto the list of instances for which standby status has changed.- Parameters:
standbyInstance- aninstance
-