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.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018:
019: /**
020: * <p>Java class for AuthzDecisionStatementType complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType name="AuthzDecisionStatementType">
026: * <complexContent>
027: * <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
028: * <sequence>
029: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Action" maxOccurs="unbounded"/>
030: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Evidence" minOccurs="0"/>
031: * </sequence>
032: * <attribute name="Decision" use="required" type="{urn:oasis:names:tc:SAML:2.0:assertion}DecisionType" />
033: * <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
034: * </extension>
035: * </complexContent>
036: * </complexType>
037: * </pre>
038: *
039: *
040: */
041: @XmlRootElement(name="AuthzDecisionStatement")
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="AuthzDecisionStatementType",propOrder={"action","evidence"})
044: public class AuthzDecisionStatementType extends StatementAbstractType {
045:
046: @XmlElement(name="Action",required=true)
047: protected List<ActionType> action;
048: @XmlElement(name="Evidence")
049: protected EvidenceType evidence;
050: @XmlAttribute(name="Decision",required=true)
051: protected DecisionType decision;
052: @XmlAttribute(name="Resource",required=true)
053: protected String resource;
054:
055: /**
056: * Gets the value of the action property.
057: *
058: * <p>
059: * This accessor method returns a reference to the live list,
060: * not a snapshot. Therefore any modification you make to the
061: * returned list will be present inside the JAXB object.
062: * This is why there is not a <CODE>set</CODE> method for the action property.
063: *
064: * <p>
065: * For example, to add a new item, do as follows:
066: * <pre>
067: * getAction().add(newItem);
068: * </pre>
069: *
070: *
071: * <p>
072: * Objects of the following type(s) are allowed in the list
073: * {@link ActionType }
074: *
075: *
076: */
077: public List<ActionType> getAction() {
078: if (action == null) {
079: action = new ArrayList<ActionType>();
080: }
081: return this .action;
082: }
083:
084: /**
085: * Gets the value of the evidence property.
086: *
087: * @return
088: * possible object is
089: * {@link EvidenceType }
090: *
091: */
092: public EvidenceType getEvidence() {
093: return evidence;
094: }
095:
096: /**
097: * Sets the value of the evidence property.
098: *
099: * @param value
100: * allowed object is
101: * {@link EvidenceType }
102: *
103: */
104: public void setEvidence(EvidenceType value) {
105: this .evidence = value;
106: }
107:
108: /**
109: * Gets the value of the decision property.
110: *
111: * @return
112: * possible object is
113: * {@link DecisionType }
114: *
115: */
116: public DecisionType getDecision() {
117: return decision;
118: }
119:
120: /**
121: * Sets the value of the decision property.
122: *
123: * @param value
124: * allowed object is
125: * {@link DecisionType }
126: *
127: */
128: public void setDecision(DecisionType value) {
129: this .decision = value;
130: }
131:
132: /**
133: * Gets the value of the resource property.
134: *
135: * @return
136: * possible object is
137: * {@link String }
138: *
139: */
140: public String getResource() {
141: return resource;
142: }
143:
144: /**
145: * Sets the value of the resource property.
146: *
147: * @param value
148: * allowed object is
149: * {@link String }
150: *
151: */
152: public void setResource(String value) {
153: this.resource = value;
154: }
155:
156: }
|