001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-422
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2007.07.10 at 02:10:42 PM PDT
006: //
007:
008: package com.sun.xml.ws.rm.v200702;
009:
010: import org.w3c.dom.Element;
011:
012: import javax.xml.bind.annotation.*;
013: import javax.xml.namespace.QName;
014: import java.util.ArrayList;
015: import java.util.HashMap;
016: import java.util.List;
017: import java.util.Map;
018:
019: /**
020: * <p>Java class for CloseSequenceElement complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType name="CloseSequenceType">
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <sequence>
029: * <element ref="{http://docs.oasis-open.org/ws-rx/wsrm/200702}Identifier"/>
030: * <element name="LastMsgNumber" type="{http://docs.oasis-open.org/ws-rx/wsrm/200702}MessageNumberType" minOccurs="0"/>
031: * <any/>
032: * </sequence>
033: * </restriction>
034: * </complexContent>
035: * </complexType>
036: * </pre>
037: *
038: *
039: */
040: @XmlAccessorType(XmlAccessType.FIELD)
041: @XmlType(name="CloseSequenceType",propOrder={"identifier","lastMsgNumber","any"})
042: @XmlRootElement(name="CloseSequence",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
043: public class CloseSequenceElement {
044:
045: @XmlElement(name="Identifier",required=true,namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
046: protected Identifier identifier;
047: @XmlElement(name="LastMsgNumber",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
048: protected int lastMsgNumber;
049: @XmlAnyElement(lax=true)
050: protected List<Object> any;
051: @XmlAnyAttribute
052: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
053:
054: /**
055: * Gets the value of the identifier property.
056: *
057: * @return
058: * possible object is
059: * {@link Identifier }
060: *
061: */
062: public Identifier getIdentifier() {
063: return identifier;
064: }
065:
066: /**
067: * Sets the value of the identifier property.
068: *
069: * @param value
070: * allowed object is
071: * {@link Identifier }
072: *
073: */
074: public void setIdentifier(Identifier value) {
075: this .identifier = value;
076: }
077:
078: /**
079: * Gets the value of the lastMsgNumber property.
080: *
081: * @return
082: * possible object is
083: * {@link Long }
084: *
085: */
086: public int getLastMsgNumber() {
087: return lastMsgNumber;
088: }
089:
090: /**
091: * Sets the value of the lastMsgNumber property.
092: *
093: * @param value
094: * allowed object is
095: * {@link Long }
096: *
097: */
098: public void setLastMsgNumber(int value) {
099: this .lastMsgNumber = value;
100: }
101:
102: /**
103: * Gets the value of the any property.
104: *
105: * <p>
106: * This accessor method returns a reference to the live list,
107: * not a snapshot. Therefore any modification you make to the
108: * returned list will be present inside the JAXB object.
109: * This is why there is not a <CODE>set</CODE> method for the any property.
110: *
111: * <p>
112: * For example, to add a new item, do as follows:
113: * <pre>
114: * getAny().add(newItem);
115: * </pre>
116: *
117: *
118: * <p>
119: * Objects of the following type(s) are allowed in the list
120: * {@link Object }
121: * {@link Element }
122: *
123: *
124: */
125: public List<Object> getAny() {
126: if (any == null) {
127: any = new ArrayList<Object>();
128: }
129: return this .any;
130: }
131:
132: /**
133: * Gets a map that contains attributes that aren't bound to any typed property on this class.
134: *
135: * <p>
136: * the map is keyed by the name of the attribute and
137: * the value is the string value of the attribute.
138: *
139: * the map returned by this method is live, and you can add new attribute
140: * by updating the map directly. Because of this design, there's no setter.
141: *
142: *
143: * @return
144: * always non-null
145: */
146: public Map<QName, String> getOtherAttributes() {
147: return otherAttributes;
148: }
149:
150: }
|