Package com.highdeal.admin.hci
Class GetStatusResult
java.lang.Object
com.highdeal.admin.hci.GetStatusResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This class represents the result of the
Get Status operation;
It contains a status for the specified server instance.
Implementation in Your Client Application
Use getStatus() to get the resulting status.
Operation Request
GetStatusOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="getStatusResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="status" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds string data to this operation.voidaddChild(String tagName, XMLMarshallable child) Adds a child tag to this operation.getName()Returns the name of the operation: "getStatus"Returns the operand reference for audit.Gets the operation ID.Gets the server status.voidmarshal(XMLOutputter output) Writes the operation XML data to the given output.voidsetAttributes(XMLAttributes atts) Sets the operation attributes from theXMLAttributes.voidsetOperationID(String id) Sets the operation ID.voidsetStatus(StatusModel model) Sets the server status.
-
Field Details
-
OPERATION_NAME
The name of this operation: "getStatusResult"- See Also:
-
OPERATION_ID
Mapping for the operation ID: "opID"- See Also:
-
-
Constructor Details
-
GetStatusResult
public GetStatusResult() -
GetStatusResult
-
-
Method Details
-
setStatus
Sets the server status.- Parameters:
model- The status of the server to be set
-
getStatus
Gets the server status.- Returns:
- The status of the server
-
getOperationID
Gets the operation ID.- Returns:
- The operation ID, or
nullif the operation has no ID
-
setOperationID
Sets the operation ID.- Parameters:
id- The operation identifier
-
getName
Returns the name of the operation: "getStatus"- Returns:
- "getStatus"
-
getOperandReference
Returns the operand reference for audit.- Specified by:
getOperandReferencein interfaceOperationResult- Returns:
null, as this result is not audited
-
setAttributes
Sets the operation attributes from theXMLAttributes.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXMLAttributescontaining the data
-
addCharacterData
Adds string data to this operation.This data is ignored for this operation.
- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to add to the operation
-
addChild
Adds a child tag to this operation.For this operation, the child must be a
.StatusModel- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of the tagchild- TheXMLMarshallablechild to add
-
marshal
Writes the operation XML data to the given output.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXMLOutputterto write into
-