|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.admin.hci.PingResult
public class PingResult
This class represents the result of the Ping operation;
It contains a status set to true if the distant instance of the SAP CC system is alive, false otherwise.
Use getStatus() to get the resulting status.
PingOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="pingResult">
<xs:complexType>
<xs:attribute name="status" type="xs:boolean"/>
</xs:complexType>
</xs:element>
| Field Summary | |
|---|---|
static java.lang.String |
OPERATION_NAME
The XML name of this operation: "pingResult" |
static java.lang.String |
STATUS
Mapping for the ping status: "status" |
| Constructor Summary | |
|---|---|
PingResult()
|
|
PingResult(boolean status)
|
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds string data to this operation. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child tag to this operation. |
java.lang.String |
getName()
Returns the name of the operation: "ping" |
java.lang.String |
getOperandReference()
Gets the operand reference for auditing purpose. |
boolean |
getStatus()
Returns the ping status of the ping request |
void |
marshal(XMLOutputter output)
Writes the operation XML data to the given output. |
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
public static final java.lang.String STATUS
| Constructor Detail |
|---|
public PingResult()
public PingResult(boolean status)
| Method Detail |
|---|
public java.lang.String getName()
public boolean getStatus()
true if server is alive,
else false.public java.lang.String getOperandReference()
getOperandReference in interface OperationResultnull, as this operation is not audited.public void setAttributes(XMLAttributes atts)
XMLAttributes.
setAttributes in interface XMLMarshallableatts - The XMLAttributes containing the datapublic void addCharacterData(java.lang.String cData)
This data is ignored for this operation.
addCharacterData in interface XMLMarshallablecData - The character data to add to the operation
public void addChild(java.lang.String tagName,
XMLMarshallable child)
This tag is ignored for this operation.
addChild in interface XMLMarshallabletagName - The name of the tagchild - The XMLMarshallable child to addpublic void marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XMLOutputter to write into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||