//
// 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;
import de.groothues.mysaml.assertion.ActionType;
import de.groothues.mysaml.assertion.EvidenceType;
/**
* <p>Java class for AuthzDecisionQueryType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="AuthzDecisionQueryType">
* <complexContent>
* <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}SubjectQueryAbstractType">
* <sequence>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Action" maxOccurs="unbounded"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Evidence" minOccurs="0"/>
* </sequence>
* <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AuthzDecisionQueryType", propOrder = {
"action",
"evidence"
})
public class AuthzDecisionQueryType
extends SubjectQueryAbstractType
{
@XmlElement(name = "Action", namespace = "urn:oasis:names:tc:SAML:2.0:assertion", required = true)
protected List<ActionType> action;
@XmlElement(name = "Evidence", namespace = "urn:oasis:names:tc:SAML:2.0:assertion")
protected EvidenceType evidence;
@XmlAttribute(name = "Resource", required = true)
@XmlSchemaType(name = "anyURI")
protected String resource;
/**
* Gets the value of the action 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 action property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAction().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ActionType }
*
*
*/
public List<ActionType> getAction() {
if (action == null) {
action = new ArrayList<ActionType>();
}
return this.action;
}
/**
* Gets the value of the evidence property.
*
* @return
* possible object is
* {@link EvidenceType }
*
*/
public EvidenceType getEvidence() {
return evidence;
}
/**
* Sets the value of the evidence property.
*
* @param value
* allowed object is
* {@link EvidenceType }
*
*/
public void setEvidence(EvidenceType value) {
this.evidence = value;
}
/**
* Gets the value of the resource property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResource() {
return resource;
}
/**
* Sets the value of the resource property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResource(String value) {
this.resource = value;
}
}