All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.hyperjaxb3.hibernate.mapping.PrimitiveArray Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2007.01.30 at 01:23:09 PM CET 
//


package org.jvnet.hyperjaxb3.hibernate.mapping;

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.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "meta",
    "subselect",
    "cache",
    "synchronize",
    "comment",
    "key",
    "indexOrListIndex",
    "element",
    "loader",
    "sqlInsert",
    "sqlUpdate",
    "sqlDelete",
    "sqlDeleteAll"
})
@XmlRootElement(name = "primitive-array")
public class PrimitiveArray {

    @XmlAttribute(required = true)
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String name;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String access;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String table;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String schema;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String catalog;
    @XmlAttribute(name = "subselect")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String subselectAttribute;
    @XmlAttribute
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String mutable;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String where;
    @XmlAttribute(name = "batch-size")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String batchSize;
    @XmlAttribute(name = "outer-join")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String outerJoin;
    @XmlAttribute
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String fetch;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String persister;
    @XmlAttribute(name = "collection-type")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String collectionType;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String check;
    @XmlAttribute(name = "optimistic-lock")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String optimisticLock;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String node;
    @XmlAttribute(name = "embed-xml")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String embedXml;
    protected List meta;
    protected String subselect;
    protected Cache cache;
    protected List synchronize;
    protected String comment;
    @XmlElement(required = true)
    protected Key key;
    @XmlElements({
        @XmlElement(name = "index", required = true, type = Index.class),
        @XmlElement(name = "list-index", required = true, type = ListIndex.class)
    })
    protected List indexOrListIndex;
    @XmlElement(required = true)
    protected Element element;
    protected Loader loader;
    @XmlElement(name = "sql-insert")
    protected SqlInsert sqlInsert;
    @XmlElement(name = "sql-update")
    protected SqlUpdate sqlUpdate;
    @XmlElement(name = "sql-delete")
    protected SqlDelete sqlDelete;
    @XmlElement(name = "sql-delete-all")
    protected SqlDeleteAll sqlDeleteAll;

    /**
     * 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 access property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAccess() {
        return access;
    }

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

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

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

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

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

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

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

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

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

    /**
     * Gets the value of the mutable property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMutable() {
        if (mutable == null) {
            return "true";
        } else {
            return mutable;
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Gets the value of the optimisticLock property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOptimisticLock() {
        if (optimisticLock == null) {
            return "true";
        } else {
            return optimisticLock;
        }
    }

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

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

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

    /**
     * Gets the value of the embedXml property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getEmbedXml() {
        if (embedXml == null) {
            return "true";
        } else {
            return embedXml;
        }
    }

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

    /**
     * Gets the value of the meta property.
     * 
     * 

* 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 set method for the meta property. * *

* For example, to add a new item, do as follows: *

     *    getMeta().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Meta } * * */ public List getMeta() { if (meta == null) { meta = new ArrayList(); } return this.meta; } /** * Gets the value of the subselect property. * * @return * possible object is * {@link String } * */ public String getSubselect() { return subselect; } /** * Sets the value of the subselect property. * * @param value * allowed object is * {@link String } * */ public void setSubselect(String value) { this.subselect = value; } /** * Gets the value of the cache property. * * @return * possible object is * {@link Cache } * */ public Cache getCache() { return cache; } /** * Sets the value of the cache property. * * @param value * allowed object is * {@link Cache } * */ public void setCache(Cache value) { this.cache = value; } /** * Gets the value of the synchronize property. * *

* 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 set method for the synchronize property. * *

* For example, to add a new item, do as follows: *

     *    getSynchronize().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Synchronize } * * */ public List getSynchronize() { if (synchronize == null) { synchronize = new ArrayList(); } return this.synchronize; } /** * Gets the value of the comment property. * * @return * possible object is * {@link String } * */ public String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is * {@link String } * */ public void setComment(String value) { this.comment = value; } /** * Gets the value of the key property. * * @return * possible object is * {@link Key } * */ public Key getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link Key } * */ public void setKey(Key value) { this.key = value; } /** * Gets the value of the indexOrListIndex property. * *

* 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 set method for the indexOrListIndex property. * *

* For example, to add a new item, do as follows: *

     *    getIndexOrListIndex().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Index } * {@link ListIndex } * * */ public List getIndexOrListIndex() { if (indexOrListIndex == null) { indexOrListIndex = new ArrayList(); } return this.indexOrListIndex; } /** * Gets the value of the element property. * * @return * possible object is * {@link Element } * */ public Element getElement() { return element; } /** * Sets the value of the element property. * * @param value * allowed object is * {@link Element } * */ public void setElement(Element value) { this.element = value; } /** * Gets the value of the loader property. * * @return * possible object is * {@link Loader } * */ public Loader getLoader() { return loader; } /** * Sets the value of the loader property. * * @param value * allowed object is * {@link Loader } * */ public void setLoader(Loader value) { this.loader = value; } /** * Gets the value of the sqlInsert property. * * @return * possible object is * {@link SqlInsert } * */ public SqlInsert getSqlInsert() { return sqlInsert; } /** * Sets the value of the sqlInsert property. * * @param value * allowed object is * {@link SqlInsert } * */ public void setSqlInsert(SqlInsert value) { this.sqlInsert = value; } /** * Gets the value of the sqlUpdate property. * * @return * possible object is * {@link SqlUpdate } * */ public SqlUpdate getSqlUpdate() { return sqlUpdate; } /** * Sets the value of the sqlUpdate property. * * @param value * allowed object is * {@link SqlUpdate } * */ public void setSqlUpdate(SqlUpdate value) { this.sqlUpdate = value; } /** * Gets the value of the sqlDelete property. * * @return * possible object is * {@link SqlDelete } * */ public SqlDelete getSqlDelete() { return sqlDelete; } /** * Sets the value of the sqlDelete property. * * @param value * allowed object is * {@link SqlDelete } * */ public void setSqlDelete(SqlDelete value) { this.sqlDelete = value; } /** * Gets the value of the sqlDeleteAll property. * * @return * possible object is * {@link SqlDeleteAll } * */ public SqlDeleteAll getSqlDeleteAll() { return sqlDeleteAll; } /** * Sets the value of the sqlDeleteAll property. * * @param value * allowed object is * {@link SqlDeleteAll } * */ public void setSqlDeleteAll(SqlDeleteAll value) { this.sqlDeleteAll = value; } }