oracle.syndication.ice.payload
Class Ice_subscription

java.lang.Object
  |
  +--oracle.xml.classgen.CGNode
        |
        +--oracle.syndication.ice.payload.Ice_subscription

public class Ice_subscription
extends oracle.xml.classgen.CGNode
implements Printable

The Node Class representing the ice-subscription element within an ice-response in an ICE payload. The attributes allowed under this element include the following:

The child elements allowed under this element include the following:

Since:
9.0.0.0.0 Beta

Field Summary
TypeField
static int EXPIRATION_PRIORITY_FIRST
          Constant for enumerated value first for Attribute expiration-priority
static int EXPIRATION_PRIORITY_LAST
          Constant for enumerated value last for Attribute expiration-priority
 
Method Summary
TypeMethod
 java.lang.String getCurrentState()
          Returns the current state of the subscription
 Ice_payload getDocument()
          Get Document Class Ice_payload
 oracle.xml.parser.v2.DTD getDTDNode()
          Returns the Ice_payload DTD
 java.lang.String getExprDate()
          Returns the expiration date of the subscription
 java.lang.String getExprPrio()
          Returns the expiration priority of the subscription
 Ice_offer getOfferSubscribeTo()
          Returns the offer that is being subscribed to
 int getQuantityRemn()
          Return the number of offers that are remaining
 java.lang.String getSubscriptionId()
          Returns the subscription identifier
 void print(java.lang.String szSpace, java.io.Writer wrt)
          Prints the ice-subscription node with a specific prefix into the specified writer.
 
Methods inherited from class oracle.xml.classgen.CGNode
setDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXPIRATION_PRIORITY_FIRST

public static final int EXPIRATION_PRIORITY_FIRST
Constant for enumerated value first for Attribute expiration-priority

EXPIRATION_PRIORITY_LAST

public static final int EXPIRATION_PRIORITY_LAST
Constant for enumerated value last for Attribute expiration-priority
Method Detail

getSubscriptionId

public java.lang.String getSubscriptionId()
Returns the subscription identifier

getCurrentState

public java.lang.String getCurrentState()
Returns the current state of the subscription

getExprDate

public java.lang.String getExprDate()
Returns the expiration date of the subscription

getExprPrio

public java.lang.String getExprPrio()
Returns the expiration priority of the subscription

getOfferSubscribeTo

public Ice_offer getOfferSubscribeTo()
Returns the offer that is being subscribed to

getQuantityRemn

public int getQuantityRemn()
Return the number of offers that are remaining

getDTDNode

public oracle.xml.parser.v2.DTD getDTDNode()
Returns the Ice_payload DTD
Returns:
The Ice_payload DTD
See Also:
DTD

getDocument

public Ice_payload getDocument()
Get Document Class Ice_payload
Returns:
Ice_payload class

print

public void print(java.lang.String szSpace,
                  java.io.Writer wrt)
           throws java.io.IOException
Prints the ice-subscription node with a specific prefix into the specified writer.
Specified by:
print in interface Printable