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