// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 // 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: 2014.06.12 at 01:48:04 PM CEST // package de.tum.in.i22.uc.pdp.xsd; import ae.javax.xml.bind.annotation.XmlAccessType; import ae.javax.xml.bind.annotation.XmlAccessorType; import ae.javax.xml.bind.annotation.XmlAttribute; import ae.javax.xml.bind.annotation.XmlElement; import ae.javax.xml.bind.annotation.XmlElements; import ae.javax.xml.bind.annotation.XmlType; /** * <p>Java class for AuthorizationActionType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="AuthorizationActionType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element name="allow" type="{http://www22.in.tum.de/enforcementLanguage}AuthorizationAllowType"/> * <element name="inhibit" type="{http://www22.in.tum.de/enforcementLanguage}AuthorizationInhibitType"/> * </choice> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="start" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="fallback" type="{http://www.w3.org/2001/XMLSchema}string" default="inhibit" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AuthorizationActionType", propOrder = { "allowOrInhibit" }) public class AuthorizationActionType { @XmlElements({ @XmlElement(name = "allow", type = AuthorizationAllowType.class), @XmlElement(name = "inhibit", type = AuthorizationInhibitType.class) }) protected Object allowOrInhibit; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "start") protected Boolean start; @XmlAttribute(name = "fallback") protected String fallback; /** * Gets the value of the allowOrInhibit property. * * @return * possible object is * {@link AuthorizationAllowType } * {@link AuthorizationInhibitType } * */ public Object getAllowOrInhibit() { return allowOrInhibit; } /** * Sets the value of the allowOrInhibit property. * * @param value * allowed object is * {@link AuthorizationAllowType } * {@link AuthorizationInhibitType } * */ public void setAllowOrInhibit(Object value) { this.allowOrInhibit = value; } public boolean isSetAllowOrInhibit() { return (this.allowOrInhibit!= null); } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } public boolean isSetName() { return (this.name!= null); } /** * Gets the value of the start property. * * @return * possible object is * {@link Boolean } * */ public boolean isStart() { if (start == null) { return false; } else { return start; } } /** * Sets the value of the start property. * * @param value * allowed object is * {@link Boolean } * */ public void setStart(boolean value) { this.start = value; } public boolean isSetStart() { return (this.start!= null); } public void unsetStart() { this.start = null; } /** * Gets the value of the fallback property. * * @return * possible object is * {@link String } * */ public String getFallback() { if (fallback == null) { return "inhibit"; } else { return fallback; } } /** * Sets the value of the fallback property. * * @param value * allowed object is * {@link String } * */ public void setFallback(String value) { this.fallback = value; } public boolean isSetFallback() { return (this.fallback!= null); } }