001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-463
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.08.30 at 11:26:34 AM 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 MessagePendingType complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType name="MessagePendingType">
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <sequence>
029: * <any/>
030: * </sequence>
031: * <attribute name="pending" type="{http://www.w3.org/2001/XMLSchema}boolean" />
032: * </restriction>
033: * </complexContent>
034: * </complexType>
035: * </pre>
036: *
037: *
038: */
039: @XmlAccessorType(XmlAccessType.FIELD)
040: @XmlType(name="MessagePendingType",namespace="http://docs.oasis-open.org/ws-rx/wsmc/200702",propOrder={"any"})
041: @XmlRootElement(name="MessagePending",namespace="http://docs.oasis-open.org/ws-rx/wsmc/200702")
042: public class MessagePendingElement {
043:
044: @XmlAnyElement(lax=true)
045: protected List<Object> any;
046: @XmlAttribute
047: protected Boolean pending;
048: @XmlAnyAttribute
049: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
050:
051: /**
052: * Gets the value of the any property.
053: *
054: * <p>
055: * This accessor method returns a reference to the live list,
056: * not a snapshot. Therefore any modification you make to the
057: * returned list will be present inside the JAXB object.
058: * This is why there is not a <CODE>set</CODE> method for the any property.
059: *
060: * <p>
061: * For example, to add a new item, do as follows:
062: * <pre>
063: * getAny().add(newItem);
064: * </pre>
065: *
066: *
067: * <p>
068: * Objects of the following type(s) are allowed in the list
069: * {@link Element }
070: * {@link Object }
071: *
072: *
073: */
074: public List<Object> getAny() {
075: if (any == null) {
076: any = new ArrayList<Object>();
077: }
078: return this .any;
079: }
080:
081: /**
082: * Gets the value of the pending property.
083: *
084: * @return
085: * possible object is
086: * {@link Boolean }
087: *
088: */
089: public Boolean isPending() {
090: return pending;
091: }
092:
093: /**
094: * Sets the value of the pending property.
095: *
096: * @param value
097: * allowed object is
098: * {@link Boolean }
099: *
100: */
101: public void setPending(Boolean value) {
102: this .pending = value;
103: }
104:
105: /**
106: * Gets a map that contains attributes that aren't bound to any typed property on this class.
107: *
108: * <p>
109: * the map is keyed by the name of the attribute and
110: * the value is the string value of the attribute.
111: *
112: * the map returned by this method is live, and you can add new attribute
113: * by updating the map directly. Because of this design, there's no setter.
114: *
115: *
116: * @return
117: * always non-null
118: */
119: public Map<QName, String> getOtherAttributes() {
120: return otherAttributes;
121: }
122:
123: }
|