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:53:21 PM IST
06: //
07:
08: package com.sun.xml.wss.saml.internal.saml11.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:1.0:assertion}AssertionIDReference"/>
31: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion"/>
32: * </choice>
33: * </restriction>
34: * </complexContent>
35: * </complexType>
36: * </pre>
37: *
38: *
39: */
40: @XmlRootElement(name="Evidence")
41: @XmlAccessorType(XmlAccessType.FIELD)
42: @XmlType(name="EvidenceType",propOrder={"assertionIDReferenceOrAssertion"})
43: public class EvidenceType {
44:
45: @XmlElementRefs({@XmlElementRef(name="AssertionIDReference",namespace="urn:oasis:names:tc:SAML:1.0:assertion",type=JAXBElement.class),@XmlElementRef(name="Assertion",namespace="urn:oasis:names:tc:SAML:1.0:assertion",type=JAXBElement.class)})
46: protected List<JAXBElement<?>> assertionIDReferenceOrAssertion;
47:
48: /**
49: * Gets the value of the assertionIDReferenceOrAssertion property.
50: *
51: * <p>
52: * This accessor method returns a reference to the live list,
53: * not a snapshot. Therefore any modification you make to the
54: * returned list will be present inside the JAXB object.
55: * This is why there is not a <CODE>set</CODE> method for the assertionIDReferenceOrAssertion property.
56: *
57: * <p>
58: * For example, to add a new item, do as follows:
59: * <pre>
60: * getAssertionIDReferenceOrAssertion().add(newItem);
61: * </pre>
62: *
63: *
64: * <p>
65: * Objects of the following type(s) are allowed in the list
66: * {@link JAXBElement }{@code <}{@link AssertionType }{@code >}
67: * {@link JAXBElement }{@code <}{@link String }{@code >}
68: *
69: *
70: */
71: public List<JAXBElement<?>> getAssertionIDReferenceOrAssertion() {
72: if (assertionIDReferenceOrAssertion == null) {
73: assertionIDReferenceOrAssertion = new ArrayList<JAXBElement<?>>();
74: }
75: return this.assertionIDReferenceOrAssertion;
76: }
77:
78: }
|