public class StartSubscriptionReratingResult extends java.lang.Object implements OperationResult
Start Rerating operation.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="startSubscriptionReratingResult">
<xs:complexType>
<xs:attribute name="fromDate" type="xs:dateTime"/>
<xs:attribute name="fromSnapshotId" type="xs:integer"/>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
StartSubscriptionReratingResult(int fromSnapshotId,
java.util.Date fromDate)
Builds a start rerating result.
|
| 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. |
java.util.Date |
getFromDate()
Gets the date from which the rerating will be performed.
|
int |
getFromSnapshotId()
Gets the identifier of the counter snapshot which was used to restore the counters of the subscription or charging contract.
|
java.lang.String |
getName()
Gets the name of this result.
|
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. |
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 |
setFromDate(java.util.Date fromDate)
Sets the date from which the rerating will be performed.
|
void |
setFromSnapshotId(int fromSnapshotId)
Sets the identifier of the counter snapshot which was used to restore the counters of the subscription or charging contract.
|
public StartSubscriptionReratingResult(int fromSnapshotId,
java.util.Date fromDate)
fromSnapshotId - The identifier of the counter snapshot which was used to restore the counters of the subscription or charging contractfromDate - The date from which the rerating will be performedpublic java.lang.String getName()
public java.lang.String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic int getFromSnapshotId()
public void setFromSnapshotId(int fromSnapshotId)
fromSnapshotId - The identifier of the counter snapshot which was used to restore the counters of the subscription or charging contractpublic java.util.Date getFromDate()
public void setFromDate(java.util.Date fromDate)
fromDate - The date from which the rerating will be performedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic 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)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into