SAP CC 1.0
API 4.2 (Core)

com.highdeal.admin.hci
Class PingResult

java.lang.Object
  extended by com.highdeal.admin.hci.PingResult
All Implemented Interfaces:
OperationResult, XMLMarshallable

public class PingResult
extends java.lang.Object
implements OperationResult

This class conveys the result of the PingOp operation.
This result is set to true if Price"n Rate is alive, false otherwise.
Please, use getStatus() to get the resulting status.

See Also :
PingOp

XML Schema 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 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, that is "ping".
 java.lang.String getOperandReference()
          Gets the operand reference for auditing purpose.
 boolean getStatus()
          Returns the ping status.
 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

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
The name of this operation : "pingResult".

See Also:
Constant Field Values

STATUS

public static final java.lang.String STATUS
Mapping for the ping status : "status".

See Also:
Constant Field Values
Constructor Detail

PingResult

public PingResult()

PingResult

public PingResult(boolean status)
Method Detail

getName

public java.lang.String getName()
Returns the name of the operation, that is "ping".

Returns:
"ping"

getStatus

public boolean getStatus()
Returns the ping status.

Returns:
the ping status: true if server is alive, else false.

getOperandReference

public java.lang.String getOperandReference()
Gets the operand reference for auditing purpose.

Specified by:
getOperandReference in interface OperationResult
Returns:
null, as this operation is not audited.

setAttributes

public void setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - the XMLAttributes containing the data

addCharacterData

public void addCharacterData(java.lang.String cData)
Adds string data to this operation.

This data is ignored for this operation.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - the character data to add to the operation

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Adds a child tag to this operation.

This tag is ignored for this operation.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - the name of the tag
child - the XMLMarshallable child to add

marshal

public void marshal(XMLOutputter output)
Writes the operation XML data to the given output.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - the XMLOutputter to write into

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.