com.sun.xml.ws.rm.protocol.wsrm200502
Class SequenceAcknowledgementElement

java.lang.Object
  extended by com.sun.xml.ws.rm.protocol.AbstractSequenceAcknowledgement
      extended by com.sun.xml.ws.rm.protocol.wsrm200502.SequenceAcknowledgementElement

public class SequenceAcknowledgementElement
extends AbstractSequenceAcknowledgement

Abstraction of the SequenceAcknowledgement WS-RM protocol element. Based on a JAXB schema compiler generated class that has properties for each child element of the SequenceAcknowledgement element. A property used to serialize/ deserialize the BufferRemaining extensibility element is added.


Nested Class Summary
static class SequenceAcknowledgementElement.AcknowledgementRange
           
 
Field Summary
protected  java.util.List<SequenceAcknowledgementElement.AcknowledgementRange> acknowledgementRange
           
protected  java.util.List<java.lang.Object> any
           
 java.lang.Integer bufferRemaining
           
protected  Identifier identifier
           
protected  java.util.List<java.math.BigInteger> nack
           
 
Constructor Summary
SequenceAcknowledgementElement()
           
 
Method Summary
 void addAckRange(long lower, long upper)
           
 void addNack(long index)
           
 java.util.List<SequenceAcknowledgementElement.AcknowledgementRange> getAcknowledgementRange()
          Gets the value of the acknowledgementRange property.
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property representing extensibility elements
 int getBufferRemaining()
          Gets the BufferRemaining value
 java.lang.String getId()
          Gets the identifier associated with the Sequence
 Identifier getIdentifier()
          Gets the value of the identifier property.
 java.util.List<java.math.BigInteger> getNack()
          Gets the value of the nack property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 void setBufferRemaining(int value)
          Sets the BufferRemaining value
 void setId(java.lang.String idString)
          Sets the Identifier
 void setIdentifier(Identifier value)
          Sets the value of the identifier property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

identifier

protected Identifier identifier

acknowledgementRange

protected java.util.List<SequenceAcknowledgementElement.AcknowledgementRange> acknowledgementRange

nack

protected java.util.List<java.math.BigInteger> nack

bufferRemaining

public java.lang.Integer bufferRemaining

any

protected java.util.List<java.lang.Object> any
Constructor Detail

SequenceAcknowledgementElement

public SequenceAcknowledgementElement()
Method Detail

getIdentifier

public Identifier getIdentifier()
Gets the value of the identifier property.

Returns:
The value of the property.

setIdentifier

public void setIdentifier(Identifier value)
Sets the value of the identifier property.

Parameters:
value - The new value of the property.

getAcknowledgementRange

public java.util.List<SequenceAcknowledgementElement.AcknowledgementRange> getAcknowledgementRange()
Gets the value of the acknowledgementRange property.

Returns:
The value of the property, which is a list of AcknowledgementRange objects

getNack

public java.util.List<java.math.BigInteger> getNack()
Gets the value of the nack property.

Specified by:
getNack in class AbstractSequenceAcknowledgement
Returns:
The value of the property, which is a list of BigIntegers

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any property representing extensibility elements

Specified by:
getAny in class AbstractSequenceAcknowledgement
Returns:
The list of elements.

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

Specified by:
getOtherAttributes in class AbstractSequenceAcknowledgement
Returns:
The value of the property

setId

public void setId(java.lang.String idString)
Description copied from class: AbstractSequenceAcknowledgement
Sets the Identifier

Specified by:
setId in class AbstractSequenceAcknowledgement

getId

public java.lang.String getId()
Description copied from class: AbstractSequenceAcknowledgement
Gets the identifier associated with the Sequence

Specified by:
getId in class AbstractSequenceAcknowledgement
Returns:
String

getBufferRemaining

public int getBufferRemaining()
Description copied from class: AbstractSequenceAcknowledgement
Gets the BufferRemaining value

Specified by:
getBufferRemaining in class AbstractSequenceAcknowledgement
Returns:
int

setBufferRemaining

public void setBufferRemaining(int value)
Description copied from class: AbstractSequenceAcknowledgement
Sets the BufferRemaining value

Specified by:
setBufferRemaining in class AbstractSequenceAcknowledgement

addAckRange

public void addAckRange(long lower,
                        long upper)
Specified by:
addAckRange in class AbstractSequenceAcknowledgement

addNack

public void addNack(long index)
Specified by:
addNack in class AbstractSequenceAcknowledgement

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object