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.annotation.XmlAccessType;
13: import javax.xml.bind.annotation.XmlAccessorType;
14: import javax.xml.bind.annotation.XmlElement;
15: import javax.xml.bind.annotation.XmlRootElement;
16: import javax.xml.bind.annotation.XmlType;
17:
18: /**
19: * <p>Java class for AudienceRestrictionType complex type.
20: *
21: * <p>The following schema fragment specifies the expected content contained within this class.
22: *
23: * <pre>
24: * <complexType name="AudienceRestrictionType">
25: * <complexContent>
26: * <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}ConditionAbstractType">
27: * <sequence>
28: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Audience" maxOccurs="unbounded"/>
29: * </sequence>
30: * </extension>
31: * </complexContent>
32: * </complexType>
33: * </pre>
34: *
35: *
36: */
37: @XmlRootElement(name="AudienceRestriction")
38: @XmlAccessorType(XmlAccessType.FIELD)
39: @XmlType(name="AudienceRestrictionType",propOrder={"audience"})
40: public class AudienceRestrictionType extends ConditionAbstractType {
41:
42: @XmlElement(name="Audience",required=true)
43: protected List<String> audience;
44:
45: /**
46: * Gets the value of the audience property.
47: *
48: * <p>
49: * This accessor method returns a reference to the live list,
50: * not a snapshot. Therefore any modification you make to the
51: * returned list will be present inside the JAXB object.
52: * This is why there is not a <CODE>set</CODE> method for the audience property.
53: *
54: * <p>
55: * For example, to add a new item, do as follows:
56: * <pre>
57: * getAudience().add(newItem);
58: * </pre>
59: *
60: *
61: * <p>
62: * Objects of the following type(s) are allowed in the list
63: * {@link String }
64: *
65: *
66: */
67: public List<String> getAudience() {
68: if (audience == null) {
69: audience = new ArrayList<String>();
70: }
71: return this.audience;
72: }
73:
74: }
|