public class UnlockSubscriptionResult extends java.lang.Object implements OperationResult
UnlockSubscriptionOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="unlockSubscriptionResult">
<xs:complexType>
<xs:attribute name="subscriptionCount" type="xs:integer"/>
<xs:attribute name="reratingOpCode" type="xs:string"/>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_NAME |
| Constructor and Description |
|---|
UnlockSubscriptionResult()
Creates an empty 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.lang.String |
getName()
Gets the name of the operation.
|
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 |
getReratingOpCode()
Gets the rerating operation code of the subscriptions that must be unlocked.
|
int |
getSubscriptionCount()
Gets the number of subscriptions unlocked.
|
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 |
setReratingOpCode(java.lang.String reratingOpCode)
Sets the rerating operation code originally generated by Transactive server of the subscriptions that must be
unlocked.
|
void |
setSubscriptionCode(java.lang.String subscriptionCode)
Sets the subscription code of the subscription that must be unlocked.
|
void |
setSubscriptionCount(int subscriptionCount)
Sets the number of subscriptions unlocked.
|
public static final java.lang.String OPERATION_NAME
public UnlockSubscriptionResult()
public java.lang.String getName()
public java.lang.String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic void setSubscriptionCount(int subscriptionCount)
subscriptionCount - the number of subscriptions unlockedpublic int getSubscriptionCount()
public void setReratingOpCode(java.lang.String reratingOpCode)
reratingOpCode - rerating operation codepublic void setSubscriptionCode(java.lang.String subscriptionCode)
subscriptionCode - the subscription codepublic java.lang.String getReratingOpCode()
public 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