Subversion Repositories XServices

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
201 brianR 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
14
 
15
 
16
 *
17
 *                 Place holder type for future extensions of
18
 *                 BaseExtensionType
19
 *
20
 *
21
 * <p>Java-Klasse für BaseExtensionType complex type.
22
 *
23
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
24
 *
25
 * <pre>
26
 * &lt;complexType name="BaseExtensionType">
27
 *   &lt;complexContent>
28
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29
 *       &lt;sequence>
30
 *         &lt;any namespace='targetnamespace' maxOccurs="unbounded"/>
31
 *       &lt;/sequence>
32
 *       &lt;anyAttribute/>
33
 *     &lt;/restriction>
34
 *   &lt;/complexContent>
35
 * &lt;/complexType>
36
 * </pre>
37
 *
38
 *
39
 */
40
@XmlAccessorType(XmlAccessType.FIELD)
41
@XmlType(name = "BaseExtensionType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
42
    "any"
43
})
44
public class BaseExtensionType {
45
46
 
47
    protected List<Object> any;
48
    @XmlAnyAttribute
49
    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
50
51
 
52
     * Gets the value of the any property.
53
     *
54
     * <p>
55
     * This accessor method returns a reference to the live list,
56
     * not a snapshot. Therefore any modification you make to the
57
     * returned list will be present inside the JAXB object.
58
     * This is why there is not a <CODE>set</CODE> method for the any property.
59
     *
60
     * <p>
61
     * For example, to add a new item, do as follows:
62
     * <pre>
63
     *    getAny().add(newItem);
64
     * </pre>
65
     *
66
     *
67
     * <p>
68
     * Objects of the following type(s) are allowed in the list
69
     * {@link Object }
70
     *
71
     *
72
     */
73
    public List<Object> getAny() {
74
        if (any == null) {
75
            any = new ArrayList<Object>();
76
        }
77
        return this.any;
78
    }
79
80
 
81
     * Gets a map that contains attributes that aren't bound to any typed property on this class.
82
     *
83
     * <p>
84
     * the map is keyed by the name of the attribute and
85
     * the value is the string value of the attribute.
86
     *
87
     * the map returned by this method is live, and you can add new attribute
88
     * by updating the map directly. Because of this design, there's no setter.
89
     *
90
     *
91
     * @return
92
     *     always non-null
93
     */
94
    public Map<QName, String> getOtherAttributes() {
95
        return otherAttributes;
96
    }
97
98
 
99