// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.05.06 at 06:41:10 PM CEST // package de.groothues.mysaml.protocol; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for RequestedAuthnContextType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="RequestedAuthnContextType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextClassRef" maxOccurs="unbounded"/> * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef" maxOccurs="unbounded"/> * </choice> * <attribute name="Comparison" type="{urn:oasis:names:tc:SAML:2.0:protocol}AuthnContextComparisonType" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RequestedAuthnContextType", propOrder = { "authnContextClassRef", "authnContextDeclRef" }) public class RequestedAuthnContextType { @XmlElement(name = "AuthnContextClassRef", namespace = "urn:oasis:names:tc:SAML:2.0:assertion") @XmlSchemaType(name = "anyURI") protected List<String> authnContextClassRef; @XmlElement(name = "AuthnContextDeclRef", namespace = "urn:oasis:names:tc:SAML:2.0:assertion") @XmlSchemaType(name = "anyURI") protected List<String> authnContextDeclRef; @XmlAttribute(name = "Comparison") protected AuthnContextComparisonType comparison; /** * Gets the value of the authnContextClassRef property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the authnContextClassRef property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAuthnContextClassRef().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getAuthnContextClassRef() { if (authnContextClassRef == null) { authnContextClassRef = new ArrayList<String>(); } return this.authnContextClassRef; } /** * Gets the value of the authnContextDeclRef property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the authnContextDeclRef property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAuthnContextDeclRef().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getAuthnContextDeclRef() { if (authnContextDeclRef == null) { authnContextDeclRef = new ArrayList<String>(); } return this.authnContextDeclRef; } /** * Gets the value of the comparison property. * * @return * possible object is * {@link AuthnContextComparisonType } * */ public AuthnContextComparisonType getComparison() { return comparison; } /** * Sets the value of the comparison property. * * @param value * allowed object is * {@link AuthnContextComparisonType } * */ public void setComparison(AuthnContextComparisonType value) { this.comparison = value; } }