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