Subversion Repositories XServices

Rev

Rev 201 | Details | Compare with Previous | 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.XmlElement;
203 brianR 12
import javax.xml.bind.annotation.XmlType;
201 brianR 13
import javax.xml.namespace.QName;
14
import org.w3c.dom.Element;
15
16
 
17
 
18
 *
19
 *                 A structure to hold security
203 brianR 20
 *                 authentication-relevant data. If present the
21
 *                 data within may be encrypted.
22
 *
201 brianR 23
 *
24
 * <p>Java-Klasse für CredentialsType complex type.
25
 *
26
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
27
 *
28
 * <pre>
29
 * &lt;complexType name="CredentialsType">
30
 *   &lt;complexContent>
31
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32
 *       &lt;sequence>
33
 *         &lt;element name="ALFSecurity" type="{http://www.eclipse.org/alf/schema/EventBase/1}ALFSecurityType" minOccurs="0"/>
203 brianR 34
 *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
35
 *       &lt;/sequence>
201 brianR 36
 *       &lt;anyAttribute/>
37
 *     &lt;/restriction>
38
 *   &lt;/complexContent>
39
 * &lt;/complexType>
40
 * </pre>
41
 *
42
 *
43
 */
44
@XmlAccessorType(XmlAccessType.FIELD)
45
@XmlType(name = "CredentialsType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
46
    "alfSecurity",
203 brianR 47
    "any"
201 brianR 48
})
49
public class CredentialsType {
50
51
 
203 brianR 52
    protected ALFSecurityType alfSecurity;
53
    @XmlAnyElement(lax = true)
201 brianR 54
    protected List<Object> any;
55
    @XmlAnyAttribute
56
    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
57
58
 
59
     * Ruft den Wert der alfSecurity-Eigenschaft ab.
203 brianR 60
     *
61
     * @return
62
     *     possible object is
63
     *     {@link ALFSecurityType }
64
     *
65
     */
66
    public ALFSecurityType getALFSecurity() {
67
        return alfSecurity;
68
    }
69
70
 
71
     * Legt den Wert der alfSecurity-Eigenschaft fest.
72
     *
73
     * @param value
74
     *     allowed object is
75
     *     {@link ALFSecurityType }
76
     *
77
     */
78
    public void setALFSecurity(ALFSecurityType value) {
79
        this.alfSecurity = value;
80
    }
81
82
 
83
     * Gets the value of the any property.
201 brianR 84
     *
85
     * <p>
86
     * This accessor method returns a reference to the live list,
87
     * not a snapshot. Therefore any modification you make to the
88
     * returned list will be present inside the JAXB object.
89
     * This is why there is not a <CODE>set</CODE> method for the any property.
90
     *
91
     * <p>
92
     * For example, to add a new item, do as follows:
93
     * <pre>
94
     *    getAny().add(newItem);
95
     * </pre>
96
     *
97
     *
98
     * <p>
99
     * Objects of the following type(s) are allowed in the list
100
     * {@link Element }
203 brianR 101
     * {@link Object }
201 brianR 102
     *
103
     *
104
     */
105
    public List<Object> getAny() {
106
        if (any == null) {
107
            any = new ArrayList<Object>();
108
        }
109
        return this.any;
110
    }
111
112
 
113
     * Gets a map that contains attributes that aren't bound to any typed property on this class.
114
     *
115
     * <p>
116
     * the map is keyed by the name of the attribute and
117
     * the value is the string value of the attribute.
118
     *
119
     * the map returned by this method is live, and you can add new attribute
120
     * by updating the map directly. Because of this design, there's no setter.
121
     *
122
     *
123
     * @return
124
     *     always non-null
125
     */
126
    public Map<QName, String> getOtherAttributes() {
127
        return otherAttributes;
128
    }
129
130
 
131