public class GetCurrentReratingSessionStatusResult extends java.lang.Object implements OperationResult
Get Current Rerating Session Status operation;
If no rerating session is in progress, the result of the last rerating session is returned. GetCurrentReratingSessionStatusOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="getCurrentReratingSessionStatusResult">
<xs:complexType>
<xs:attribute name="reratingLockCode" type="xs:string"/>
<xs:attribute name="inProgress" type="xs:boolean"/>
<xs:attribute name="batchGroupReratedCount" type="xs:integer"/>
<xs:attribute name="batchGroupToRerateCount" type="xs:integer"/>
<xs:attribute name="batchGroupReratedDaysCount" type="xs:integer"/>
<xs:attribute name="batchGroupDaysToRerateCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionLockedCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionLockErrorCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionUnlockedCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionUnlockErrorCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionToRerateCount" type="xs:integer"/>
<xs:attribute name="subscriptionErrorCount" type="xs:integer"/>
<xs:attribute name="subscriptionToRerateCount" type="xs:integer"/>
<xs:attribute name="adaptedSubscriptionCount" type="xs:integer"/>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RESULT_NAME
The name of the marshallable result: "getCurrentReratingSessionStatusResult"
|
| Constructor and Description |
|---|
GetCurrentReratingSessionStatusResult()
Builds an empty operation result.
|
GetCurrentReratingSessionStatusResult(java.lang.String lockCode,
boolean inProgress,
int batchGroupToRerateCount,
int batchGroupReratedCount,
int subscriptionToRerateCount,
int adaptedSubscriptionCount,
int batchGroupReratedDaysCount,
int batchGroupDaysToRerateCount,
int batchGroupSubscriptionLockedCount,
int batchGroupSubscriptionLockErrorCount,
int batchGroupSubscriptionUnlockedCount,
int batchGroupSubscriptionUnlockErrorCount,
int batchGroupSubscriptionToRerateCount,
int subscriptionErrorCount)
Builds a result with all its details.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
int |
getAdaptedSubscriptionCount() |
int |
getBatchGroupDaysToRerateCount() |
int |
getBatchGroupReratedCount() |
int |
getBatchGroupReratedDaysCount() |
int |
getBatchGroupSubscriptionLockedCount() |
int |
getBatchGroupSubscriptionLockErrorCount() |
int |
getBatchGroupSubscriptionToRerateCount() |
int |
getBatchGroupSubscriptionUnlockedCount() |
int |
getBatchGroupSubscriptionUnlockErrorCount() |
int |
getBatchGroupToRerateCount() |
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. |
java.lang.String |
getReratingLockCode() |
int |
getSubscriptionErrorCount() |
int |
getSubscriptionToRerateCount() |
boolean |
isInProgress() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAdaptedSubscriptionCount(int adaptedSubscriptionCount) |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setBatchGroupDaysToRerateCount(int batchGroupDaysToRerateCount) |
void |
setBatchGroupReratedCount(int batchGroupReratedCount) |
void |
setBatchGroupReratedDaysCount(int batchGroupReratedDaysCount) |
void |
setBatchGroupSubscriptionLockedCount(int batchGroupSubscriptionLockedCount) |
void |
setBatchGroupSubscriptionLockErrorCount(int batchGroupSubscriptionLockErrorCount) |
void |
setBatchGroupSubscriptionToRerateCount(int batchGroupSubscriptionToRerateCount) |
void |
setBatchGroupSubscriptionUnlockedCount(int batchGroupSubscriptionUnlockedCount) |
void |
setBatchGroupSubscriptionUnlockErrorCount(int batchGroupSubscriptionUnlockErrorCount) |
void |
setBatchGroupToRerateCount(int batchGroupToRerateCount) |
void |
setInProgress(boolean inProgress) |
void |
setReratingLockCode(java.lang.String reratingLockCode) |
void |
setSubscriptionErrorCount(int subscriptionErrorCount) |
void |
setSubscriptionToRerateCount(int subscriptionToRerateCount) |
public static final java.lang.String RESULT_NAME
public GetCurrentReratingSessionStatusResult()
public GetCurrentReratingSessionStatusResult(java.lang.String lockCode,
boolean inProgress,
int batchGroupToRerateCount,
int batchGroupReratedCount,
int subscriptionToRerateCount,
int adaptedSubscriptionCount,
int batchGroupReratedDaysCount,
int batchGroupDaysToRerateCount,
int batchGroupSubscriptionLockedCount,
int batchGroupSubscriptionLockErrorCount,
int batchGroupSubscriptionUnlockedCount,
int batchGroupSubscriptionUnlockErrorCount,
int batchGroupSubscriptionToRerateCount,
int subscriptionErrorCount)
lockCode - The rerating lock codeinProgress - The state of the rerating sessionbatchGroupReratedCount - The count of batch groups that have been reratedbatchGroupToRerateCount - The count of batch groups that must be reratedsubscriptionToRerateCount - The count of subscriptions that must be reratedadaptedSubscriptionCount - The count of subscriptions for which restoration date have been adapted.batchGroupReratedDaysCount - The count of days rerated in the current batch groupbatchGroupDaysToRerateCount - The count of days to rerate in the current batch groupbatchGroupSubscriptionLockedCount - The count of subscription locked in the current batch groupbatchGroupSubscriptionLockErrorCount - The count of subscription in error during the lock phase in the current batch groupbatchGroupSubscriptionUnlockedCount - The count of subscription locked in the current batch groupbatchGroupSubscriptionUnlockErrorCount - The count of subscription in error during the unlock phase in the current batch groupbatchGroupSubscriptionToRerateCount - The count of subscription to rerate in the current batch groupsubscriptionErrorCount - The total count of subscriptions in errorpublic java.lang.String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic java.lang.String getReratingLockCode()
public void setReratingLockCode(java.lang.String reratingLockCode)
reratingLockCode - The reratingLockCode to setpublic boolean isInProgress()
true if a rerating session is in progress, false otherwise.public void setInProgress(boolean inProgress)
inProgress - The inProgress to setpublic int getBatchGroupReratedCount()
public void setBatchGroupReratedCount(int batchGroupReratedCount)
batchGroupReratedCount - The batchGroupReratedCount to setpublic int getBatchGroupToRerateCount()
public void setBatchGroupToRerateCount(int batchGroupToRerateCount)
batchGroupToRerateCount - The batchGroupToRerateCount to setpublic int getSubscriptionToRerateCount()
public void setSubscriptionToRerateCount(int subscriptionToRerateCount)
subscriptionToRerateCount - The subscriptionToRerateCount to setpublic int getAdaptedSubscriptionCount()
public void setAdaptedSubscriptionCount(int adaptedSubscriptionCount)
adaptedSubscriptionCount - The adaptedSubscriptionCount to setpublic int getBatchGroupReratedDaysCount()
public void setBatchGroupReratedDaysCount(int batchGroupReratedDaysCount)
batchGroupReratedDaysCount - The batchGroupReratedDaysCount to setpublic int getBatchGroupDaysToRerateCount()
public void setBatchGroupDaysToRerateCount(int batchGroupDaysToRerateCount)
batchGroupDaysToRerateCount - The batchGroupDaysToRerateCount to setpublic int getBatchGroupSubscriptionLockedCount()
public void setBatchGroupSubscriptionLockedCount(int batchGroupSubscriptionLockedCount)
batchGroupSubscriptionLockedCount - The batchGroupSubscriptionLockedCount to setpublic int getBatchGroupSubscriptionLockErrorCount()
public void setBatchGroupSubscriptionLockErrorCount(int batchGroupSubscriptionLockErrorCount)
batchGroupSubscriptionLockErrorCount - The batchGroupSubscriptionLockErrorCount to setpublic int getBatchGroupSubscriptionUnlockedCount()
public void setBatchGroupSubscriptionUnlockedCount(int batchGroupSubscriptionUnlockedCount)
batchGroupSubscriptionUnlockedCount - The batchGroupSubscriptionUnlockedCount to setpublic int getBatchGroupSubscriptionUnlockErrorCount()
public void setBatchGroupSubscriptionUnlockErrorCount(int batchGroupSubscriptionUnlockErrorCount)
batchGroupSubscriptionUnlockErrorCount - The batchGroupSubscriptionUnlockErrorCount to setpublic int getBatchGroupSubscriptionToRerateCount()
public void setBatchGroupSubscriptionToRerateCount(int batchGroupSubscriptionToRerateCount)
batchGroupSubscriptionToRerateCount - The batchGroupSubscriptionToRerateCount to setpublic int getSubscriptionErrorCount()
public void setSubscriptionErrorCount(int subscriptionErrorCount)
subscriptionErrorCount - The subscriptionErrorCount to setpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic 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 marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into