public class GetSystemStatusResult extends Object implements OperationResult
Get System Status operation;
It contains an overall system status with the running status (on, off, waiting) of
each SAP CC system instance.SystemStatus,
InstanceStatus GetSystemStatusOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="getSystemStatusResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="systemStatus" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML tag name of this operation result: "getSystemStatusResult"
|
| Constructor and Description |
|---|
GetSystemStatusResult()
Initiliazes a new instance of
GetSystemStatusResult. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getOperandReference()
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 is
null. |
SystemStatus |
getSystemStatus()
Get the system status associated to the response.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setSystemStatus(SystemStatus systemStatus)
Set the system status to the response.
|
public static final String OPERATION_NAME
public GetSystemStatusResult()
GetSystemStatusResult.public String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic SystemStatus getSystemStatus()
SAP CC system statuspublic void setSystemStatus(SystemStatus systemStatus)
systemStatus - The system status to setpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into