Subversion Repositories XServices

Rev

Rev 129 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147 
// 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: 2012.11.14 at 07:35:52 AM MEZ 
//


package net.brutex.xservices.types.scm;

import java.io.Serializable;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for ItemType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ItemType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="isLeaf" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="isBinary" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="fullname" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *         &lt;element name="remotepath" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="remotename" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="remotefullname" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="tipRevision" type="{http://ws.brutex.net/SCMTypes}RevisionType"/>
 *         &lt;element name="revision" type="{http://ws.brutex.net/SCMTypes}RevisionType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="attribute" type="{http://ws.brutex.net/SCMTypes}AttributeType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="ROOT" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="data" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ItemType", propOrder = {
    "isLeaf",
    "isBinary",
    "path",
    "name",
    "fullname",
    "remotepath",
    "remotename",
    "remotefullname",
    "description",
    "tipRevision",
    "revisions",
    "attributes",
    "root",
    "content",
    "data"
})
public class ItemType
    implements Serializable
{

    private final static long serialVersionUID = 19800606L;
    protected boolean isLeaf;
    protected boolean isBinary;
    @XmlElement(required = true)
    protected String path;
    @XmlElement(required = true)
    protected String name;
    @XmlElement(required = true)
    @XmlSchemaType(name = "anyURI")
    protected String fullname;
    @XmlElement(required = true)
    protected String remotepath;
    @XmlElement(required = true)
    protected String remotename;
    @XmlElement(required = true)
    @XmlSchemaType(name = "anyURI")
    protected String remotefullname;
    @XmlElement(required = true)
    protected String description;
    @XmlElement(required = true)
    protected RevisionType tipRevision;
    @XmlElement(name = "revision")
    protected List<RevisionType> revisions;
    @XmlElement(name = "attribute")
    protected List<AttributeType> attributes;
    @XmlElement(name = "ROOT", required = true)
    protected String root;
    @XmlElement(required = true)
    protected String content;
    @XmlElement(required = true, nillable = true)
    protected byte[] data;

    /**
     * Gets the value of the isLeaf property.
     * 
     */
    public boolean isIsLeaf() {
        return isLeaf;
    }

    /**
     * Sets the value of the isLeaf property.
     * 
     */
    public void setIsLeaf(boolean value) {
        this.isLeaf = value;
    }

    /**
     * Gets the value of the isBinary property.
     * 
     */
    public boolean isIsBinary() {
        return isBinary;
    }

    /**
     * Sets the value of the isBinary property.
     * 
     */
    public void setIsBinary(boolean value) {
        this.isBinary = value;
    }

    /**
     * Gets the value of the path property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPath() {
        return path;
    }

    /**
     * Sets the value of the path property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPath(String value) {
        this.path = 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;
    }

    /**
     * Gets the value of the fullname property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFullname() {
        return fullname;
    }

    /**
     * Sets the value of the fullname property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFullname(String value) {
        this.fullname = value;
    }

    /**
     * Gets the value of the remotepath property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRemotepath() {
        return remotepath;
    }

    /**
     * Sets the value of the remotepath property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRemotepath(String value) {
        this.remotepath = value;
    }

    /**
     * Gets the value of the remotename property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRemotename() {
        return remotename;
    }

    /**
     * Sets the value of the remotename property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRemotename(String value) {
        this.remotename = value;
    }

    /**
     * Gets the value of the remotefullname property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRemotefullname() {
        return remotefullname;
    }

    /**
     * Sets the value of the remotefullname property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRemotefullname(String value) {
        this.remotefullname = value;
    }

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDescription(String value) {
        this.description = value;
    }

    /**
     * Gets the value of the tipRevision property.
     * 
     * @return
     *     possible object is
     *     {@link RevisionType }
     *     
     */
    public RevisionType getTipRevision() {
        return tipRevision;
    }

    /**
     * Sets the value of the tipRevision property.
     * 
     * @param value
     *     allowed object is
     *     {@link RevisionType }
     *     
     */
    public void setTipRevision(RevisionType value) {
        this.tipRevision = value;
    }

    /**
     * Gets the value of the revisions 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 revisions property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRevisions().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link RevisionType }
     * 
     * 
     */
    public List<RevisionType> getRevisions() {
        if (revisions == null) {
            revisions = new ArrayList<RevisionType>();
        }
        return this.revisions;
    }

    /**
     * Gets the value of the attributes 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 attributes property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAttributes().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link AttributeType }
     * 
     * 
     */
    public List<AttributeType> getAttributes() {
        if (attributes == null) {
            attributes = new ArrayList<AttributeType>();
        }
        return this.attributes;
    }

    /**
     * Gets the value of the root property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getROOT() {
        return root;
    }

    /**
     * Sets the value of the root property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setROOT(String value) {
        this.root = value;
    }

    /**
     * Gets the value of the content property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getContent() {
        return content;
    }

    /**
     * Sets the value of the content property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setContent(String value) {
        this.content = value;
    }

    /**
     * Gets the value of the data property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getData() {
        return data;
    }

    /**
     * Sets the value of the data property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setData(byte[] value) {
        this.data = ((byte[]) value);
    }

}