Subversion Repositories bacoAlunos

Rev

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: 2015.11.16 at 11:36:01 AM WET
//


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


/**
 * A node is a directory internal object, it has a label and an identifier and can have children nodes and/or leafs
 *
 * <p>Java class for nodeT complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="nodeT">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="groupsDeclaration" type="{http://www.estgp.pt/baco/directory/}groupDeclarationT" minOccurs="0"/>
 *         &lt;element name="leaf" type="{http://www.estgp.pt/baco/directory/}leafT" maxOccurs="unbounded"/>
 *         &lt;element name="rights" type="{http://www.estgp.pt/baco/directory/}rightsT" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="label" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       &lt;attribute name="label_en" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       &lt;attribute name="label_es" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       &lt;attribute name="group" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       &lt;attribute name="showNav" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       &lt;attribute name="type">
 *         &lt;simpleType>
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             &lt;enumeration value="ftp"/>
 *             &lt;enumeration value="http"/>
 *           &lt;/restriction>
 *         &lt;/simpleType>
 *       &lt;/attribute>
 *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 *
 *
 */

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "nodeT", propOrder = {
    "groupsDeclaration",
    "leaf",
    "rights"
})
public class NodeT {

    protected GroupDeclarationT groupsDeclaration;
    @XmlElement(required = true)
    protected List<LeafT> leaf;
    protected RightsT rights;
    @XmlAttribute(required = true)
    @XmlSchemaType(name = "anySimpleType")
    protected 1.5.0/docs/api/java/lang/String.html">String label;
    @XmlAttribute(name = "label_en")
    @XmlSchemaType(name = "anySimpleType")
    protected 1.5.0/docs/api/java/lang/String.html">String labelEn;
    @XmlAttribute(name = "label_es")
    @XmlSchemaType(name = "anySimpleType")
    protected 1.5.0/docs/api/java/lang/String.html">String labelEs;
    @XmlAttribute
    @XmlSchemaType(name = "anySimpleType")
    protected 1.5.0/docs/api/java/lang/String.html">String group;
    @XmlAttribute
    protected 1.5.0/docs/api/java/lang/Boolean.html">Boolean showNav;
    @XmlAttribute
    protected 1.5.0/docs/api/java/lang/String.html">String type;
    @XmlAttribute(required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlID
    @XmlSchemaType(name = "ID")
    protected 1.5.0/docs/api/java/lang/String.html">String id;

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

    public GroupDeclarationT getGroupsDeclaration() {
        return groupsDeclaration;
    }

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

    public void setGroupsDeclaration(GroupDeclarationT value) {
        this.groupsDeclaration = value;
    }

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

    public List<LeafT> getLeaf() {
        if (leaf == null) {
            leaf = new ArrayList<LeafT>();
        }
        return this.leaf;
    }

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

    public RightsT getRights() {
        return rights;
    }

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

    public void setRights(RightsT value) {
        this.rights = value;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public void setShowNav(1.5.0/docs/api/java/lang/Boolean.html">Boolean value) {
        this.showNav = 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 id property.
     *
     * @return
     *     possible object is
     *     {@link String }
     *    
     */

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

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

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

}