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.AbstractCreateSequence;
011: import com.sun.xml.ws.security.secext10.SecurityTokenReferenceType;
012: import org.w3c.dom.Element;
013:
014: import javax.xml.bind.annotation.*;
015: import javax.xml.namespace.QName;
016: import javax.xml.ws.wsaddressing.W3CEndpointReference;
017: import java.util.ArrayList;
018: import java.util.HashMap;
019: import java.util.List;
020: import java.util.Map;
021:
022: /**
023: * <p>Java class for CreateSequenceElement complex type.
024: *
025: * <p>The following schema fragment specifies the expected content contained within this class.
026: *
027: * <pre>
028: * <complexType name="CreateSequenceElement">
029: * <complexContent>
030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031: * <sequence>
032: * <element ref="{http://docs.oasis-open.org/ws-rx/wsrm/200702}AcksTo"/>
033: * <element ref="{http://docs.oasis-open.org/ws-rx/wsrm/200702}Expires" minOccurs="0"/>
034: * <element name="Offer" type="{http://docs.oasis-open.org/ws-rx/wsrm/200702}OfferType" minOccurs="0"/>
035: * <any/>
036: * </sequence>
037: * </restriction>
038: * </complexContent>
039: * </complexType>
040: * </pre>
041: *
042: *
043: */
044: @XmlAccessorType(XmlAccessType.FIELD)
045: @XmlType(name="CreateSequenceType",propOrder={"acksTo","any","expires","offer","securityTokenReference"})
046: @XmlRootElement(name="CreateSequence",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
047: public class CreateSequenceElement extends AbstractCreateSequence {
048:
049: @XmlElement(name="AcksTo",required=true,namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
050: protected W3CEndpointReference acksTo;
051: @XmlElement(name="Expires",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
052: protected Expires expires;
053: @XmlElement(name="Offer",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
054: protected OfferType offer;
055: @XmlAnyElement(lax=true)
056: protected List<Object> any;
057: @XmlElement(name="SecurityTokenReference",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd")
058: private SecurityTokenReferenceType securityTokenReference;
059: @XmlAnyAttribute
060: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
061:
062: /**
063: * Gets the value of the acksTo property.
064: *
065: * @return
066: * possible object is
067: * {@link W3CEndpointReference }
068: *
069: */
070: public W3CEndpointReference getAcksTo() {
071: return acksTo;
072: }
073:
074: /**
075: * Sets the value of the acksTo property.
076: *
077: * @param value
078: * allowed object is
079: * {@link W3CEndpointReference }
080: *
081: */
082: public void setAcksTo(W3CEndpointReference value) {
083: this .acksTo = value;
084: }
085:
086: /**
087: * Gets the value of the expires property.
088: *
089: * @return
090: * possible object is
091: * {@link Expires }
092: *
093: */
094: public Expires getExpires() {
095: return expires;
096: }
097:
098: /**
099: * Sets the value of the expires property.
100: *
101: * @param value
102: * allowed object is
103: * {@link Expires }
104: *
105: */
106: public void setExpires(Expires value) {
107: this .expires = value;
108: }
109:
110: /**
111: * Gets the value of the offer property.
112: *
113: * @return
114: * possible object is
115: * {@link OfferType }
116: *
117: */
118: public OfferType getOffer() {
119: return offer;
120: }
121:
122: /**
123: * Sets the value of the offer property.
124: *
125: * @param value
126: * allowed object is
127: * {@link OfferType }
128: *
129: */
130: public void setOffer(OfferType value) {
131: this .offer = value;
132: }
133:
134: /**
135: * Gets the value of the any property.
136: *
137: * <p>
138: * This accessor method returns a reference to the live list,
139: * not a snapshot. Therefore any modification you make to the
140: * returned list will be present inside the JAXB object.
141: * This is why there is not a <CODE>set</CODE> method for the any property.
142: *
143: * <p>
144: * For example, to add a new item, do as follows:
145: * <pre>
146: * getAny().add(newItem);
147: * </pre>
148: *
149: *
150: * <p>
151: * Objects of the following type(s) are allowed in the list
152: * {@link Object }
153: * {@link Element }
154: *
155: *
156: */
157: public List<Object> getAny() {
158: if (any == null) {
159: any = new ArrayList<Object>();
160: }
161: return this .any;
162: }
163:
164: /**
165: * Gets a map that contains attributes that aren't bound to any typed property on this class.
166: *
167: * <p>
168: * the map is keyed by the name of the attribute and
169: * the value is the string value of the attribute.
170: *
171: * the map returned by this method is live, and you can add new attribute
172: * by updating the map directly. Because of this design, there's no setter.
173: *
174: *
175: * @return
176: * always non-null
177: */
178: public Map<QName, String> getOtherAttributes() {
179: return otherAttributes;
180: }
181:
182: public SecurityTokenReferenceType getSecurityTokenReference() {
183: return securityTokenReference;
184: }
185:
186: public void setSecurityTokenReference(
187: SecurityTokenReferenceType securityTokenReference) {
188: this.securityTokenReference = securityTokenReference;
189: }
190:
191: }
|