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: import com.sun.xml.ws.rm.protocol.*;
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 CreateSequenceResponseElement complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType name="CreateSequenceResponseType">
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 ref="{http://docs.oasis-open.org/ws-rx/wsrm/200702}Expires" minOccurs="0"/>
032: * <element name="IncompleteSequenceBehavior" type="{http://docs.oasis-open.org/ws-rx/wsrm/200702}IncompleteSequenceBehaviorType" minOccurs="0"/>
033: * <element name="Accept" type="{http://docs.oasis-open.org/ws-rx/wsrm/200702}AcceptType" minOccurs="0"/>
034: * <any/>
035: * </sequence>
036: * </restriction>
037: * </complexContent>
038: * </complexType>
039: * </pre>
040: *
041: *
042: */
043: @XmlAccessorType(XmlAccessType.FIELD)
044: @XmlType(name="CreateSequenceResponseType",propOrder={"identifier","expires","incompleteSequenceBehavior","accept","any"})
045: @XmlRootElement(name="CreateSequenceResponse",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
046: public class CreateSequenceResponseElement extends
047: AbstractCreateSequenceResponse {
048:
049: @XmlElement(name="Identifier",required=true)
050: protected Identifier identifier;
051: @XmlElement(name="Expires")
052: protected Expires expires;
053: @XmlElement(name="IncompleteSequenceBehavior")
054: protected IncompleteSequenceBehaviorType incompleteSequenceBehavior;
055: @XmlElement(name="Accept")
056: protected AcceptType accept;
057: @XmlAnyElement(lax=true)
058: protected List<Object> any;
059: @XmlAnyAttribute
060: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
061:
062: public CreateSequenceResponseElement() {
063: incompleteSequenceBehavior = IncompleteSequenceBehaviorType.DISCARD_FOLLOWING_FIRST_GAP;
064: }
065:
066: /**
067: * Gets the value of the identifier property.
068: *
069: * @return
070: * possible object is
071: * {@link Identifier }
072: *
073: */
074: public Identifier getIdentifier() {
075: return identifier;
076: }
077:
078: /**
079: * Sets the value of the identifier property.
080: *
081: * @param value
082: * allowed object is
083: * {@link Identifier }
084: *
085: */
086: public void setIdentifier(Identifier value) {
087: this .identifier = value;
088: }
089:
090: /**
091: * Gets the value of the expires property.
092: *
093: * @return
094: * possible object is
095: * {@link Expires }
096: *
097: */
098: public Expires getExpires() {
099: return expires;
100: }
101:
102: /**
103: * Sets the value of the expires property.
104: *
105: * @param value
106: * allowed object is
107: * {@link Expires }
108: *
109: */
110: public void setExpires(Expires value) {
111: this .expires = value;
112: }
113:
114: /**
115: * Gets the value of the incompleteSequenceBehavior property.
116: *
117: * @return
118: * possible object is
119: * {@link IncompleteSequenceBehaviorType }
120: *
121: */
122: public IncompleteSequenceBehaviorType getIncompleteSequenceBehavior() {
123: return incompleteSequenceBehavior;
124: }
125:
126: /**
127: * Sets the value of the incompleteSequenceBehavior property.
128: *
129: * @param value
130: * allowed object is
131: * {@link IncompleteSequenceBehaviorType }
132: *
133: */
134: public void setIncompleteSequenceBehavior(
135: IncompleteSequenceBehaviorType value) {
136: this .incompleteSequenceBehavior = value;
137: }
138:
139: /**
140: * Gets the value of the accept property.
141: *
142: * @return
143: * possible object is
144: * {@link AcceptType }
145: *
146: */
147: public AcceptType getAccept() {
148: return accept;
149: }
150:
151: /**
152: * Sets the value of the accept property.
153: *
154: * @param value
155: * allowed object is
156: * {@link AcceptType }
157: *
158: */
159: public void setAccept(AbstractAcceptType value) {
160: this .accept = (AcceptType) value;
161: }
162:
163: /**
164: * Gets the value of the any property.
165: *
166: * <p>
167: * This accessor method returns a reference to the live list,
168: * not a snapshot. Therefore any modification you make to the
169: * returned list will be present inside the JAXB object.
170: * This is why there is not a <CODE>set</CODE> method for the any property.
171: *
172: * <p>
173: * For example, to add a new item, do as follows:
174: * <pre>
175: * getAny().add(newItem);
176: * </pre>
177: *
178: *
179: * <p>
180: * Objects of the following type(s) are allowed in the list
181: * {@link Object }
182: * {@link Element }
183: *
184: *
185: */
186: public List<Object> getAny() {
187: if (any == null) {
188: any = new ArrayList<Object>();
189: }
190: return this .any;
191: }
192:
193: /**
194: * Gets a map that contains attributes that aren't bound to any typed property on this class.
195: *
196: * <p>
197: * the map is keyed by the name of the attribute and
198: * the value is the string value of the attribute.
199: *
200: * the map returned by this method is live, and you can add new attribute
201: * by updating the map directly. Because of this design, there's no setter.
202: *
203: *
204: * @return
205: * always non-null
206: */
207: public Map<QName, String> getOtherAttributes() {
208: return otherAttributes;
209: }
210:
211: }
|