Subversion Repositories bacoAlunos

Rev

Rev 1312 | Rev 1503 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
// 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: 2016.03.28 at 02:59:42 PM WEST
//


package pt.estgp.estgweb.services.directories.xsd;

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.XmlType;


/**
 * Rights define who is authorized to enter in a node
 *
 * <p>Java class for rightsT complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="rightsT">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="right" maxOccurs="unbounded">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;attribute name="target" use="required">
 *                   &lt;simpleType>
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       &lt;enumeration value="user"/>
 *                       &lt;enumeration value="role"/>
 *                     &lt;/restriction>
 *                   &lt;/simpleType>
 *                 &lt;/attribute>
 *                 &lt;attribute name="type" use="required">
 *                   &lt;simpleType>
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       &lt;enumeration value="permit"/>
 *                       &lt;enumeration value="restrict"/>
 *                     &lt;/restriction>
 *                   &lt;/simpleType>
 *                 &lt;/attribute>
 *                 &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="internal" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 *
 *
 */

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "rightsT", propOrder = {
    "right",
    "internal"
})
public class RightsT {

    @XmlElement(required = true)
    protected List<RightsT.Right> right;
    protected 1.5.0/docs/api/java/lang/Boolean.html">Boolean internal;

    /**
     * Gets the value of the right 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 right property.
     *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRight().add(newItem);
     * </pre>
     *
     *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link RightsT.Right }
     *
     *
     */

    public List<RightsT.Right> getRight() {
        if (right == null) {
            right = new ArrayList<RightsT.Right>();
        }
        return this.right;
    }

    /**
     * Gets the value of the internal property.
     *
     * @return
     *     possible object is
     *     {@link Boolean }
     *    
     */

    public 1.5.0/docs/api/java/lang/Boolean.html">Boolean getInternal() {
        return internal;
    }

    /**
     * Sets the value of the internal property.
     *
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *    
     */

    public void setInternal(1.5.0/docs/api/java/lang/Boolean.html">Boolean value) {
        this.internal = value;
    }


    /**
     * A right T1 can be to permit or restrict
     *
     * <p>Java class for anonymous complex type.
     *
     * <p>The following schema fragment specifies the expected content contained within this class.
     *
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;attribute name="target" use="required">
     *         &lt;simpleType>
     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             &lt;enumeration value="user"/>
     *             &lt;enumeration value="role"/>
     *           &lt;/restriction>
     *         &lt;/simpleType>
     *       &lt;/attribute>
     *       &lt;attribute name="type" use="required">
     *         &lt;simpleType>
     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             &lt;enumeration value="permit"/>
     *             &lt;enumeration value="restrict"/>
     *           &lt;/restriction>
     *         &lt;/simpleType>
     *       &lt;/attribute>
     *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     *
     *
     */

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "")
    public static class Right {

        @XmlAttribute(required = true)
        protected 1.5.0/docs/api/java/lang/String.html">String target;
        @XmlAttribute(required = true)
        protected 1.5.0/docs/api/java/lang/String.html">String type;
        @XmlAttribute(required = true)
        protected 1.5.0/docs/api/java/lang/String.html">String name;

        /**
         * Gets the value of the target property.
         *
         * @return
         *     possible object is
         *     {@link String }
         *    
         */

        public 1.5.0/docs/api/java/lang/String.html">String getTarget() {
            return target;
        }

        /**
         * Sets the value of the target property.
         *
         * @param value
         *     allowed object is
         *     {@link String }
         *    
         */

        public void setTarget(1.5.0/docs/api/java/lang/String.html">String value) {
            this.target = value;
        }

        /**
         * Gets the value of the type property.
         *
         * @return
         *     possible object is
         *     {@link String }
         *    
         */

        public 1.5.0/docs/api/java/lang/String.html">String getType() {
            return type;
        }

        /**
         * Sets the value of the type property.
         *
         * @param value
         *     allowed object is
         *     {@link String }
         *    
         */

        public void setType(1.5.0/docs/api/java/lang/String.html">String value) {
            this.type = value;
        }

        /**
         * Gets the value of the name property.
         *
         * @return
         *     possible object is
         *     {@link String }
         *    
         */

        public 1.5.0/docs/api/java/lang/String.html">String getName() {
            return name;
        }

        /**
         * Sets the value of the name property.
         *
         * @param value
         *     allowed object is
         *     {@link String }
         *    
         */

        public void setName(1.5.0/docs/api/java/lang/String.html">String value) {
            this.name = value;
        }

    }

}