|
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.PurgeAllowancesResult
public class PurgeAllowancesResult
FOR INTERNAL USE ONLY - This class represents the result of the Purge Allowances operation;
It contains an overall execution status (see PERFORMED_STATUS, #INCOMPLETE_STATUS, or #STOPPED_STATUS) and the total count of processed provider contracts.
Consider the Stop Purge Allowances operation
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="purgeAllowancesResult">
<xs:complexType>
<xs:attribute name="processedCount" type="xs:integer" use="required"/>
<xs:attribute name="processedFailed" type="xs:integer" use="required"/>
<xs:attribute name="visited" type="xs:integer" use="required"/>
<xs:attribute name="purged" type="xs:integer" use="required"/>
<xs:attribute name="cannotPurgeAfter" type="xs:date" use="required"/>
<xs:attribute name="purgeDate" type="xs:date" use="required"/>
<xs:attribute name="executionStatus" type="PurgeExcStatusType" use="required"/>
</xs:complexType>
</xs:element><xs:simpleType name="PurgeExcStatusType">
<xs:restriction base="xs:string">
<xs:enumeration value="performed"/> <!-- each rater instance has received the purge allowances order and each rater has performed its purge allowances -->
<xs:enumeration value="stopped"/> <!-- the global purge allowances process has been stopped by the user -->
<xs:enumeration value="incomplete"/> <!-- some rater instances did not confirm that they have received the purge allowances order from the updater -->
</xs:restriction>
</xs:simpleType>
| Field Summary | |
|---|---|
static int |
INCOMPLETE_STATUS
0: Constant for the overall execution status when the processing was incomplete |
static java.lang.String |
OPERATION_NAME
The XML tag name of this operation result: "purgeAllowancesResult" |
static int |
PERFORMED_STATUS
1: Constant for the overall execution status when the processing was completed |
static int |
STOPPED_STATUS
2: Constant for the overall execution status when the processing was stopped |
| Constructor Summary | |
|---|---|
PurgeAllowancesResult()
Builds an empty purge allowances 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 object, the child representing
the marshallable object which must be added to the element. |
java.util.Date |
getCannotPurgeAfter()
|
int |
getExecutionStatus()
Gets the execution status of the stop purge allowances operation. |
java.lang.String |
getExecutionStatusAsString()
Gets the execution status of the stop purge allowances operation as String. |
java.lang.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. |
int |
getProcessedCount()
Gets the total count of processed provider contracts. |
int |
getProcessedFailed()
|
int |
getPurged()
|
java.util.Date |
getPurgeDate()
|
int |
getVisited()
|
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 |
setCannotPurgeAfter(java.util.Date cannotPurgeAfter)
|
void |
setExecutionStatus(int val)
Sets the execution status of the purge allowances operation. |
void |
setProcessedCount(int val)
|
void |
setProcessedFailed(int failed)
|
void |
setPurged(int purged)
|
void |
setPurgeDate(java.util.Date purgeDate)
|
void |
setVisited(int visited)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INCOMPLETE_STATUS
public static final int PERFORMED_STATUS
public static final int STOPPED_STATUS
public static final java.lang.String OPERATION_NAME
| Constructor Detail |
|---|
public PurgeAllowancesResult()
| Method Detail |
|---|
public int getExecutionStatus()
public java.lang.String getExecutionStatusAsString()
public void setExecutionStatus(int val)
val - The new status valuepublic int getProcessedCount()
public void setProcessedCount(int val)
public int getVisited()
public int getPurged()
public int getProcessedFailed()
public void setVisited(int visited)
public void setPurged(int purged)
public void setProcessedFailed(int failed)
public java.util.Date getCannotPurgeAfter()
public void setCannotPurgeAfter(java.util.Date cannotPurgeAfter)
public java.lang.String getOperandReference()
OperationResultnull.
getOperandReference in interface OperationResultpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.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(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void setPurgeDate(java.util.Date purgeDate)
public java.util.Date getPurgeDate()
|
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 | ||||||||