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

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

public class SequenceAcknowledgementElement
extends AbstractSequenceAcknowledgement

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://docs.oasis-open.org/ws-rx/wsrm/200702}Identifier"/>
         <choice>
           <sequence>
             <choice>
               <element name="AcknowledgementRange" maxOccurs="unbounded">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                       </sequence>
                       <attribute name="Upper" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
                       <attribute name="Lower" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="None">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
             </choice>
             <element name="Final" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
           <element name="Nack" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" maxOccurs="unbounded"/>
         </choice>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class SequenceAcknowledgementElement.AcknowledgementRange
          Java class for anonymous complex type.
static class SequenceAcknowledgementElement.Final
          Java class for anonymous complex type.
static class SequenceAcknowledgementElement.None
          Java class for anonymous complex type.
 
Field Summary
protected  SequenceAcknowledgementElement.Final _final
           
protected  java.util.List<SequenceAcknowledgementElement.AcknowledgementRange> acknowledgementRange
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.Integer bufferRemaining
           
protected  Identifier identifier
           
protected  java.util.List<java.math.BigInteger> nack
           
protected  SequenceAcknowledgementElement.None none
           
 
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.
 int getBufferRemaining()
          Gets the BufferRemaining value
 SequenceAcknowledgementElement.Final getFinal()
          Gets the value of the final property.
 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.
 SequenceAcknowledgementElement.None getNone()
          Gets the value of the none 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 setFinal(SequenceAcknowledgementElement.Final value)
          Sets the value of the final property.
 void setId(java.lang.String idString)
          Sets the Identifier
 void setIdentifier(Identifier value)
          Sets the value of the identifier property.
 void setNone(SequenceAcknowledgementElement.None value)
          Sets the value of the none property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

protected Identifier identifier

acknowledgementRange

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

none

protected SequenceAcknowledgementElement.None none

_final

protected SequenceAcknowledgementElement.Final _final

bufferRemaining

protected java.lang.Integer bufferRemaining

nack

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

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:
possible object is Identifier

setIdentifier

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

Parameters:
value - allowed object is Identifier

getAcknowledgementRange

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

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the acknowledgementRange property.

For example, to add a new item, do as follows:

    getAcknowledgementRange().add(newItem);
 

Objects of the following type(s) are allowed in the list SequenceAcknowledgement.AcknowledgementRange


getNone

public SequenceAcknowledgementElement.None getNone()
Gets the value of the none property.

Returns:
possible object is SequenceAcknowledgementElement.None

setNone

public void setNone(SequenceAcknowledgementElement.None value)
Sets the value of the none property.

Parameters:
value - allowed object is SequenceAcknowledgementElement.None

getFinal

public SequenceAcknowledgementElement.Final getFinal()
Gets the value of the final property.

Returns:
possible object is SequenceAcknowledgement.Final

setFinal

public void setFinal(SequenceAcknowledgementElement.Final value)
Sets the value of the final property.

Parameters:
value - allowed object is SequenceAcknowledgementElement.Final

getNack

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

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the nack property.

For example, to add a new item, do as follows:

    getNack().add(newItem);
 

Objects of the following type(s) are allowed in the list BigInteger

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.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Element

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.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Specified by:
getOtherAttributes in class AbstractSequenceAcknowledgement
Returns:
always non-null

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