SAP CC 1.0
API 4.2 (Core)

com.highdeal.admin.hci
Class ServerManagementOp

java.lang.Object
  extended by com.highdeal.admin.hci.ServerManagementOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable
Direct Known Subclasses:
ServerShutdownOp

public abstract class ServerManagementOp
extends java.lang.Object
implements MessageOperation

This abstract operation serves as a base class for the server management operations.

See Also:
ServerManagementResult

Field Summary
static java.lang.String OPERATION_ID
          Mapping for the operation ID : "operation".
static java.lang.String SERVER_NAME
          Mapping for the server name : "serverName".
 
Constructor Summary
ServerManagementOp()
           
 
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.
abstract  java.lang.String getName()
          Returns the name of the operation.
 java.lang.String getServerName()
          Gets the server name.
 void marshal(XMLOutputter output)
          Writes the operation XML data to the given output.
 void setAttributes(XMLAttributes atts)
          Sets the operation attributes from the XMLAttributes.
 void setServerName(java.lang.String name)
          Sets the server name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_ID

public static final java.lang.String OPERATION_ID
Mapping for the operation ID : "operation".

See Also:
Constant Field Values

SERVER_NAME

public static final java.lang.String SERVER_NAME
Mapping for the server name : "serverName".

See Also:
Constant Field Values
Constructor Detail

ServerManagementOp

public ServerManagementOp()
Method Detail

getServerName

public java.lang.String getServerName()
Gets the server name.

Returns:
the server name, or null if no server is specified.

setServerName

public void setServerName(java.lang.String name)
Sets the server name.

Parameters:
name - the server name.

getName

public abstract java.lang.String getName()
Returns the name of the operation.

Specified by:
getName in interface MessageOperation
Returns:
the name of the operation.

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.