diff options
9 files changed, 1128 insertions, 0 deletions
| diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/AccessControl.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/AccessControl.java new file mode 100644 index 00000000..c9efaca6 --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/AccessControl.java @@ -0,0 +1,71 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{}Chains"/> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "chains" +}) +@XmlRootElement(name = "AccessControl") +public class AccessControl { + +    @XmlElement(name = "Chains", required = true) +    protected Chains chains; + +    /** +     * Gets the value of the chains property. +     *  +     * @return +     *     possible object is +     *     {@link Chains } +     *      +     */ +    public Chains getChains() { +        return chains; +    } + +    /** +     * Sets the value of the chains property. +     *  +     * @param value +     *     allowed object is +     *     {@link Chains } +     *      +     */ +    public void setChains(Chains value) { +        this.chains = value; +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Action.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Action.java new file mode 100644 index 00000000..8d457d1c --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Action.java @@ -0,0 +1,110 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <choice> + *         <element name="ChainRef" type="{http://www.w3.org/2001/XMLSchema}IDREF"/> + *         <element name="RuleAction"> + *           <simpleType> + *             <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + *               <enumeration value="allow"/> + *               <enumeration value="deny"/> + *             </restriction> + *           </simpleType> + *         </element> + *       </choice> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "chainRef", +    "ruleAction" +}) +@XmlRootElement(name = "Action") +public class Action { + +    @XmlElement(name = "ChainRef") +    @XmlIDREF +    @XmlSchemaType(name = "IDREF") +    protected Object chainRef; +    @XmlElement(name = "RuleAction") +    protected String ruleAction; + +    /** +     * Gets the value of the chainRef property. +     *  +     * @return +     *     possible object is +     *     {@link Object } +     *      +     */ +    public Object getChainRef() { +        return chainRef; +    } + +    /** +     * Sets the value of the chainRef property. +     *  +     * @param value +     *     allowed object is +     *     {@link Object } +     *      +     */ +    public void setChainRef(Object value) { +        this.chainRef = value; +    } + +    /** +     * Gets the value of the ruleAction property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getRuleAction() { +        return ruleAction; +    } + +    /** +     * Sets the value of the ruleAction property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setRuleAction(String value) { +        this.ruleAction = value; +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Chain.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Chain.java new file mode 100644 index 00000000..aa0b920b --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Chain.java @@ -0,0 +1,106 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +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.XmlID; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{}Rules" minOccurs="0"/> + *       </sequence> + *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "rules" +}) +@XmlRootElement(name = "Chain") +public class Chain { + +    @XmlElement(name = "Rules") +    protected Rules rules; +    @XmlAttribute(name = "Id") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlID +    @XmlSchemaType(name = "ID") +    protected String id; + +    /** +     * Gets the value of the rules property. +     *  +     * @return +     *     possible object is +     *     {@link Rules } +     *      +     */ +    public Rules getRules() { +        return rules; +    } + +    /** +     * Sets the value of the rules property. +     *  +     * @param value +     *     allowed object is +     *     {@link Rules } +     *      +     */ +    public void setRules(Rules value) { +        this.rules = value; +    } + +    /** +     * Gets the value of the id property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getId() { +        return id; +    } + +    /** +     * Sets the value of the id property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setId(String value) { +        this.id = value; +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Chains.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Chains.java new file mode 100644 index 00000000..f75c8dba --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Chains.java @@ -0,0 +1,78 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{}Chain" maxOccurs="unbounded"/> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "chain" +}) +@XmlRootElement(name = "Chains") +public class Chains { + +    @XmlElement(name = "Chain", required = true) +    protected List<Chain> chain; + +    /** +     * Gets the value of the chain 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 chain property. +     *  +     * <p> +     * For example, to add a new item, do as follows: +     * <pre> +     *    getChain().add(newItem); +     * </pre> +     *  +     *  +     * <p> +     * Objects of the following type(s) are allowed in the list +     * {@link Chain } +     *  +     *  +     */ +    public List<Chain> getChain() { +        if (chain == null) { +            chain = new ArrayList<Chain>(); +        } +        return this.chain; +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Command.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Command.java new file mode 100644 index 00000000..fcba969f --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Command.java @@ -0,0 +1,108 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +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.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{}Param" maxOccurs="unbounded" minOccurs="0"/> + *       </sequence> + *       <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "param" +}) +@XmlRootElement(name = "Command") +public class Command { + +    @XmlElement(name = "Param") +    protected List<Param> param; +    @XmlAttribute(name = "Name", required = true) +    @XmlSchemaType(name = "anySimpleType") +    protected String name; + +    /** +     * Gets the value of the param 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 param property. +     *  +     * <p> +     * For example, to add a new item, do as follows: +     * <pre> +     *    getParam().add(newItem); +     * </pre> +     *  +     *  +     * <p> +     * Objects of the following type(s) are allowed in the list +     * {@link Param } +     *  +     *  +     */ +    public List<Param> getParam() { +        if (param == null) { +            param = new ArrayList<Param>(); +        } +        return this.param; +    } + +    /** +     * 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; +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/ObjectFactory.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/ObjectFactory.java new file mode 100644 index 00000000..7291d759 --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/ObjectFactory.java @@ -0,0 +1,134 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each  + * Java content interface and Java element interface  + * generated in the at.gv.egiz.bku.accesscontrol.config package.  + * <p>An ObjectFactory allows you to programatically  + * construct new instances of the Java representation  + * for XML content. The Java representation of XML  + * content can consist of schema derived interfaces  + * and classes representing the binding of schema  + * type definitions, element declarations and model  + * groups.  Factory methods for each of these are  + * provided in this class. + *  + */ +@XmlRegistry +public class ObjectFactory { + +    private final static QName _UserInteraction_QNAME = new QName("", "UserInteraction"); +    private final static QName _AuthClass_QNAME = new QName("", "AuthClass"); + +    /** +     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.egiz.bku.accesscontrol.config +     *  +     */ +    public ObjectFactory() { +    } + +    /** +     * Create an instance of {@link AccessControl } +     *  +     */ +    public AccessControl createAccessControl() { +        return new AccessControl(); +    } + +    /** +     * Create an instance of {@link Chain } +     *  +     */ +    public Chain createChain() { +        return new Chain(); +    } + +    /** +     * Create an instance of {@link Command } +     *  +     */ +    public Command createCommand() { +        return new Command(); +    } + +    /** +     * Create an instance of {@link Chains } +     *  +     */ +    public Chains createChains() { +        return new Chains(); +    } + +    /** +     * Create an instance of {@link Rule } +     *  +     */ +    public Rule createRule() { +        return new Rule(); +    } + +    /** +     * Create an instance of {@link Rule.AnyPeer } +     *  +     */ +    public Rule.AnyPeer createRuleAnyPeer() { +        return new Rule.AnyPeer(); +    } + +    /** +     * Create an instance of {@link Rules } +     *  +     */ +    public Rules createRules() { +        return new Rules(); +    } + +    /** +     * Create an instance of {@link Param } +     *  +     */ +    public Param createParam() { +        return new Param(); +    } + +    /** +     * Create an instance of {@link Action } +     *  +     */ +    public Action createAction() { +        return new Action(); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "", name = "UserInteraction") +    public JAXBElement<String> createUserInteraction(String value) { +        return new JAXBElement<String>(_UserInteraction_QNAME, String.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "", name = "AuthClass") +    public JAXBElement<String> createAuthClass(String value) { +        return new JAXBElement<String>(_AuthClass_QNAME, String.class, null, value); +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Param.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Param.java new file mode 100644 index 00000000..44afc196 --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Param.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <simpleContent> + *     <extension base="<http://www.w3.org/2001/XMLSchema>string"> + *       <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /> + *     </extension> + *   </simpleContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "value" +}) +@XmlRootElement(name = "Param") +public class Param { + +    @XmlValue +    protected String value; +    @XmlAttribute(name = "Name", required = true) +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlSchemaType(name = "NCName") +    protected String name; + +    /** +     * Gets the value of the value property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getValue() { +        return value; +    } + +    /** +     * Sets the value of the value property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setValue(String value) { +        this.value = value; +    } + +    /** +     * 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; +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Rule.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Rule.java new file mode 100644 index 00000000..3c85f256 --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Rule.java @@ -0,0 +1,342 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +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.XmlID; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{}AuthClass"/> + *         <choice> + *           <element name="AnyPeer"> + *             <complexType> + *               <complexContent> + *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                 </restriction> + *               </complexContent> + *             </complexType> + *           </element> + *           <element name="DomainName" type="{http://www.w3.org/2001/XMLSchema}string"/> + *           <element name="IPv4Address" type="{http://www.w3.org/2001/XMLSchema}string"/> + *           <element name="URL" type="{http://www.w3.org/2001/XMLSchema}string"/> + *         </choice> + *         <element ref="{}Command" minOccurs="0"/> + *         <element ref="{}Action" maxOccurs="unbounded"/> + *         <element ref="{}UserInteraction"/> + *       </sequence> + *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "authClass", +    "anyPeer", +    "domainName", +    "iPv4Address", +    "url", +    "command", +    "action", +    "userInteraction" +}) +@XmlRootElement(name = "Rule") +public class Rule { + +    @XmlElement(name = "AuthClass", required = true) +    protected String authClass; +    @XmlElement(name = "AnyPeer") +    protected Rule.AnyPeer anyPeer; +    @XmlElement(name = "DomainName") +    protected String domainName; +    @XmlElement(name = "IPv4Address") +    protected String iPv4Address; +    @XmlElement(name = "URL") +    protected String url; +    @XmlElement(name = "Command") +    protected Command command; +    @XmlElement(name = "Action", required = true) +    protected List<Action> action; +    @XmlElement(name = "UserInteraction", required = true) +    protected String userInteraction; +    @XmlAttribute(name = "Id") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlID +    @XmlSchemaType(name = "ID") +    protected String id; + +    /** +     * Gets the value of the authClass property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getAuthClass() { +        return authClass; +    } + +    /** +     * Sets the value of the authClass property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setAuthClass(String value) { +        this.authClass = value; +    } + +    /** +     * Gets the value of the anyPeer property. +     *  +     * @return +     *     possible object is +     *     {@link Rule.AnyPeer } +     *      +     */ +    public Rule.AnyPeer getAnyPeer() { +        return anyPeer; +    } + +    /** +     * Sets the value of the anyPeer property. +     *  +     * @param value +     *     allowed object is +     *     {@link Rule.AnyPeer } +     *      +     */ +    public void setAnyPeer(Rule.AnyPeer value) { +        this.anyPeer = value; +    } + +    /** +     * Gets the value of the domainName property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getDomainName() { +        return domainName; +    } + +    /** +     * Sets the value of the domainName property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setDomainName(String value) { +        this.domainName = value; +    } + +    /** +     * Gets the value of the iPv4Address property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getIPv4Address() { +        return iPv4Address; +    } + +    /** +     * Sets the value of the iPv4Address property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setIPv4Address(String value) { +        this.iPv4Address = value; +    } + +    /** +     * Gets the value of the url property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getURL() { +        return url; +    } + +    /** +     * Sets the value of the url property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setURL(String value) { +        this.url = value; +    } + +    /** +     * Gets the value of the command property. +     *  +     * @return +     *     possible object is +     *     {@link Command } +     *      +     */ +    public Command getCommand() { +        return command; +    } + +    /** +     * Sets the value of the command property. +     *  +     * @param value +     *     allowed object is +     *     {@link Command } +     *      +     */ +    public void setCommand(Command value) { +        this.command = value; +    } + +    /** +     * 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 Action } +     *  +     *  +     */ +    public List<Action> getAction() { +        if (action == null) { +            action = new ArrayList<Action>(); +        } +        return this.action; +    } + +    /** +     * Gets the value of the userInteraction property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getUserInteraction() { +        return userInteraction; +    } + +    /** +     * Sets the value of the userInteraction property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setUserInteraction(String value) { +        this.userInteraction = value; +    } + +    /** +     * Gets the value of the id property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getId() { +        return id; +    } + +    /** +     * Sets the value of the id property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setId(String value) { +        this.id = value; +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <complexContent> +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *     </restriction> +     *   </complexContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "") +    public static class AnyPeer { + + +    } + +} diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Rules.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Rules.java new file mode 100644 index 00000000..5a5fa11f --- /dev/null +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontrol/config/Rules.java @@ -0,0 +1,78 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520  +// 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: 2008.09.03 at 01:53:08 PM GMT  +// + + +package at.gv.egiz.bku.accesscontrol.config; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{}Rule" maxOccurs="unbounded"/> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { +    "rule" +}) +@XmlRootElement(name = "Rules") +public class Rules { + +    @XmlElement(name = "Rule", required = true) +    protected List<Rule> rule; + +    /** +     * Gets the value of the rule 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 rule property. +     *  +     * <p> +     * For example, to add a new item, do as follows: +     * <pre> +     *    getRule().add(newItem); +     * </pre> +     *  +     *  +     * <p> +     * Objects of the following type(s) are allowed in the list +     * {@link Rule } +     *  +     *  +     */ +    public List<Rule> getRule() { +        if (rule == null) { +            rule = new ArrayList<Rule>(); +        } +        return this.rule; +    } + +} | 
