001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.09.12 at 08:57:41 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml20.jaxb20;
009:
010: import java.math.BigInteger;
011: import java.util.ArrayList;
012: import java.util.List;
013: import javax.xml.bind.annotation.XmlAccessType;
014: import javax.xml.bind.annotation.XmlAccessorType;
015: import javax.xml.bind.annotation.XmlAttribute;
016: import javax.xml.bind.annotation.XmlElement;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019:
020: /**
021: * <p>Java class for ProxyRestrictionType complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType name="ProxyRestrictionType">
027: * <complexContent>
028: * <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}ConditionAbstractType">
029: * <sequence>
030: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Audience" maxOccurs="unbounded" minOccurs="0"/>
031: * </sequence>
032: * <attribute name="Count" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
033: * </extension>
034: * </complexContent>
035: * </complexType>
036: * </pre>
037: *
038: *
039: */
040: @XmlRootElement(name="ProxyRestriction")
041: @XmlAccessorType(XmlAccessType.FIELD)
042: @XmlType(name="ProxyRestrictionType",propOrder={"audience"})
043: public class ProxyRestrictionType extends ConditionAbstractType {
044:
045: @XmlElement(name="Audience")
046: protected List<String> audience;
047: @XmlAttribute(name="Count")
048: protected BigInteger count;
049:
050: /**
051: * Gets the value of the audience property.
052: *
053: * <p>
054: * This accessor method returns a reference to the live list,
055: * not a snapshot. Therefore any modification you make to the
056: * returned list will be present inside the JAXB object.
057: * This is why there is not a <CODE>set</CODE> method for the audience property.
058: *
059: * <p>
060: * For example, to add a new item, do as follows:
061: * <pre>
062: * getAudience().add(newItem);
063: * </pre>
064: *
065: *
066: * <p>
067: * Objects of the following type(s) are allowed in the list
068: * {@link String }
069: *
070: *
071: */
072: public List<String> getAudience() {
073: if (audience == null) {
074: audience = new ArrayList<String>();
075: }
076: return this .audience;
077: }
078:
079: /**
080: * Gets the value of the count property.
081: *
082: * @return
083: * possible object is
084: * {@link BigInteger }
085: *
086: */
087: public BigInteger getCount() {
088: return count;
089: }
090:
091: /**
092: * Sets the value of the count property.
093: *
094: * @param value
095: * allowed object is
096: * {@link BigInteger }
097: *
098: */
099: public void setCount(BigInteger value) {
100: this.count = value;
101: }
102:
103: }
|