01: //
02: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
03: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
04: // Any modifications to this file will be lost upon recompilation of the source schema.
05: // Generated on: 2006.09.12 at 08:57:41 PM IST
06: //
07:
08: package com.sun.xml.wss.saml.internal.saml20.jaxb20;
09:
10: import java.util.ArrayList;
11: import java.util.List;
12: import javax.xml.bind.JAXBElement;
13: import javax.xml.bind.annotation.XmlAccessType;
14: import javax.xml.bind.annotation.XmlAccessorType;
15: import javax.xml.bind.annotation.XmlElementRef;
16: import javax.xml.bind.annotation.XmlElementRefs;
17: import javax.xml.bind.annotation.XmlRootElement;
18: import javax.xml.bind.annotation.XmlType;
19:
20: /**
21: * <p>Java class for EvidenceType complex type.
22: *
23: * <p>The following schema fragment specifies the expected content contained within this class.
24: *
25: * <pre>
26: * <complexType name="EvidenceType">
27: * <complexContent>
28: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29: * <choice maxOccurs="unbounded">
30: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionIDRef"/>
31: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionURIRef"/>
32: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
33: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
34: * </choice>
35: * </restriction>
36: * </complexContent>
37: * </complexType>
38: * </pre>
39: *
40: *
41: */
42: @XmlRootElement(name="Evidence")
43: @XmlAccessorType(XmlAccessType.FIELD)
44: @XmlType(name="EvidenceType",propOrder={"assertionIDRefOrAssertionURIRefOrAssertion"})
45: public class EvidenceType {
46:
47: @XmlElementRefs({@XmlElementRef(name="AssertionURIRef",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="EncryptedAssertion",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="Assertion",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="AssertionIDRef",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class)})
48: protected List<JAXBElement<?>> assertionIDRefOrAssertionURIRefOrAssertion;
49:
50: /**
51: * Gets the value of the assertionIDRefOrAssertionURIRefOrAssertion property.
52: *
53: * <p>
54: * This accessor method returns a reference to the live list,
55: * not a snapshot. Therefore any modification you make to the
56: * returned list will be present inside the JAXB object.
57: * This is why there is not a <CODE>set</CODE> method for the assertionIDRefOrAssertionURIRefOrAssertion property.
58: *
59: * <p>
60: * For example, to add a new item, do as follows:
61: * <pre>
62: * getAssertionIDRefOrAssertionURIRefOrAssertion().add(newItem);
63: * </pre>
64: *
65: *
66: * <p>
67: * Objects of the following type(s) are allowed in the list
68: * {@link JAXBElement }{@code <}{@link String }{@code >}
69: * {@link JAXBElement }{@code <}{@link EncryptedElementType }{@code >}
70: * {@link JAXBElement }{@code <}{@link AssertionType }{@code >}
71: * {@link JAXBElement }{@code <}{@link String }{@code >}
72: *
73: *
74: */
75: public List<JAXBElement<?>> getAssertionIDRefOrAssertionURIRefOrAssertion() {
76: if (assertionIDRefOrAssertionURIRefOrAssertion == null) {
77: assertionIDRefOrAssertionURIRefOrAssertion = new ArrayList<JAXBElement<?>>();
78: }
79: return this.assertionIDRefOrAssertionURIRefOrAssertion;
80: }
81:
82: }
|