SAP CC 1.0
API 4.2 (Core)

com.highdeal.pnr.hci
Class RerateBulkResult

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

public class RerateBulkResult
extends java.lang.Object
implements OperationResult

This class conveys the result of the rerate bulk operation.

See Also :
RerateBulkOp

XML Schema Fragment
<xs:element name="rerateBulkResult">
   <xs:complexType>
    <xs:attribute name="rerateOpCode" type="xs:string"/>
    <xs:attribute name="subscriptionSuccessCount" type="xs:int"/>
    <xs:attribute name="subscriptionFailureCount" type="xs:int"/>
   </xs:complexType>
  </xs:element>

Field Summary
static int INCOMPLETE_STATUS
           
static int PERFORMED_STATUS
           
static int STOPPED_STATUS
           
 
Constructor Summary
RerateBulkResult()
          Builds a empty result.
RerateBulkResult(java.lang.String rerateOpCode)
          Builds a result filled with no success and no failure.
RerateBulkResult(java.lang.String rerateOpCode, int subscriptionSuccessCount, int subscriptionFailureCount)
          Builds a filled result.
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds character data to the content element.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child to the objects, the child represents the marshallable object to be added into the content tree.
 int getExecutionStatus()
          Gets the execution status of the stop activation operation.
 java.lang.String getExecutionStatusAsString()
          Gets the execution status of the stop activation operation as String.
 java.lang.String getName()
          Returns the name of the result, that is "rerateResult".
 java.lang.String getOperandReference()
          Gets the code or the reference (if no code exists) identifying the operand of the operation.
 java.lang.String getRerateOpCode()
          Gets the unique rerating operation code generated by server.
 int getSubscriptionFailureCount()
          Gets the number of subscriptions not rerated.
 int getSubscriptionSuccessCount()
          Gets the number of subscriptions successfully rerated.
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, and of its children.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the tag beeing processed.
 void setExecutionStatus(int val)
          Sets the execution status of the full activation operation.
 void setReratingOpCode(java.lang.String rerateOpCode)
          Sets the unique rerating operation code generated by server.
 void setSubscriptionFailureCount(int subscriptionFailureCount)
          Sets the number of subscriptions not rerated.
 void setSubscriptionSuccessCount(int subscriptionSuccessCount)
          Sets the number of subscriptions successfully rerated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCOMPLETE_STATUS

public static final int INCOMPLETE_STATUS
See Also:
Constant Field Values

PERFORMED_STATUS

public static final int PERFORMED_STATUS
See Also:
Constant Field Values

STOPPED_STATUS

public static final int STOPPED_STATUS
See Also:
Constant Field Values
Constructor Detail

RerateBulkResult

public RerateBulkResult()
Builds a empty result.


RerateBulkResult

public RerateBulkResult(java.lang.String rerateOpCode)
Builds a result filled with no success and no failure.

Parameters:
rerateOpCode - the unique rerating operation code generated by server

RerateBulkResult

public RerateBulkResult(java.lang.String rerateOpCode,
                        int subscriptionSuccessCount,
                        int subscriptionFailureCount)
Builds a filled result.

Parameters:
rerateOpCode - the unique rerating operation code generated by server
subscriptionSuccessCount - the number of subscriptions successfully rerated
subscriptionFailureCount - the number of subscriptions not rerated
Method Detail

getOperandReference

public java.lang.String getOperandReference()
Description copied from interface: OperationResult
Gets the code or the reference (if no code exists) identifying the operand of the operation. If the operation is not auditable, the operand reference is null.

Specified by:
getOperandReference in interface OperationResult
Returns:
The operand reference of the result.

getName

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

Returns:
"rerateResult"

getSubscriptionFailureCount

public int getSubscriptionFailureCount()
Gets the number of subscriptions not rerated.

Returns:
the number of subscriptions not rerated.

setSubscriptionFailureCount

public void setSubscriptionFailureCount(int subscriptionFailureCount)
Sets the number of subscriptions not rerated.

Parameters:
subscriptionFailureCount - the number of subscriptions not rerated.

getSubscriptionSuccessCount

public int getSubscriptionSuccessCount()
Gets the number of subscriptions successfully rerated.

Returns:
the number of subscriptions successfully rerated.

setSubscriptionSuccessCount

public void setSubscriptionSuccessCount(int subscriptionSuccessCount)
Sets the number of subscriptions successfully rerated.

Parameters:
subscriptionSuccessCount - the number of subscriptions successfully rerated.

getRerateOpCode

public java.lang.String getRerateOpCode()
Gets the unique rerating operation code generated by server.

Returns:
rerating operation code

setReratingOpCode

public void setReratingOpCode(java.lang.String rerateOpCode)
Sets the unique rerating operation code generated by server.

Parameters:
rerateOpCode - the rerating operation code

getExecutionStatus

public int getExecutionStatus()
Gets the execution status of the stop activation operation.

Returns:
the status of the stop activation operation.

getExecutionStatusAsString

public java.lang.String getExecutionStatusAsString()
Gets the execution status of the stop activation operation as String.

Returns:
the status of the stop activation operation.

setExecutionStatus

public void setExecutionStatus(int val)
Sets the execution status of the full activation operation.

Parameters:
val - the new status value.

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the tag beeing processed.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - the XML attributes of the current tag.

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - the character data to be added.

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the objects, the child represents the marshallable object to be added into the content tree.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - the name of tag for the child.
child - the child to be added.

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, and of its children.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - the XML output to marshall the object 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.