OW2 Consortium aspire

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
975 nkef 1
 
2
3
 
4
import java.util.HashMap;
5
import java.util.List;
6
import java.util.Map;
7
import javax.xml.bind.annotation.XmlAccessType;
8
import javax.xml.bind.annotation.XmlAccessorType;
9
import javax.xml.bind.annotation.XmlAnyAttribute;
10
import javax.xml.bind.annotation.XmlAnyElement;
11
import javax.xml.bind.annotation.XmlType;
12
import javax.xml.namespace.QName;
13
import org.w3c.dom.Element;
14
15
 
16
 
17
 * <p>Java class for ECReportsExtension complex type.
18
 *
19
 * <p>The following schema fragment specifies the expected content contained within this class.
20
 *
21
 * <pre>
22
 * &lt;complexType name="ECReportsExtension">
23
 *   &lt;complexContent>
24
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25
 *       &lt;sequence>
26
 *         &lt;any processContents='lax' namespace='' maxOccurs="unbounded"/>
27
 *       &lt;/sequence>
28
 *       &lt;anyAttribute processContents='lax'/>
29
 *     &lt;/restriction>
30
 *   &lt;/complexContent>
31
 * &lt;/complexType>
32
 * </pre>
33
 *
34
 *
35
 */
36
@XmlAccessorType(XmlAccessType.FIELD)
37
@XmlType(name = "ECReportsExtension", propOrder = {
38
    "any"
39
})
40
public class ECReportsExtension {
41
42
 
43
    protected List<Object> any;
44
    @XmlAnyAttribute
45
    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
46
47
 
48
     * Gets the value of the any property.
49
     *
50
     * <p>
51
     * This accessor method returns a reference to the live list,
52
     * not a snapshot. Therefore any modification you make to the
53
     * returned list will be present inside the JAXB object.
54
     * This is why there is not a <CODE>set</CODE> method for the any property.
55
     *
56
     * <p>
57
     * For example, to add a new item, do as follows:
58
     * <pre>
59
     *    getAny().add(newItem);
60
     * </pre>
61
     *
62
     *
63
     * <p>
64
     * Objects of the following type(s) are allowed in the list
65
     * {@link Object }
66
     * {@link Element }
67
     *
68
     *
69
     */
70
    public List<Object> getAny() {
71
        if (any == null) {
72
            any = new ArrayList<Object>();
73
        }
74
        return this.any;
75
    }
76
77
 
78
     * Gets a map that contains attributes that aren't bound to any typed property on this class.
79
     *
80
     * <p>
81
     * the map is keyed by the name of the attribute and
82
     * the value is the string value of the attribute.
83
     *
84
     * the map returned by this method is live, and you can add new attribute
85
     * by updating the map directly. Because of this design, there's no setter.
86
     *
87
     *
88
     * @return
89
     *     always non-null
90
     */
91
    public Map<QName, String> getOtherAttributes() {
92
        return otherAttributes;
93
    }
94
95
 
96