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

org.jvnet.hyperjaxb3.hibernate.mapping.JoinedSubclass 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 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",
    "synchronize",
    "comment",
    "tuplizer",
    "key",
    "propertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray",
    "joinedSubclass",
    "loader",
    "sqlInsert",
    "sqlUpdate",
    "sqlDelete",
    "resultset",
    "queryOrSqlQuery"
})
@XmlRootElement(name = "joined-subclass")
public class JoinedSubclass {

    @XmlAttribute(name = "entity-name")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String entityName;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String name;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String proxy;
    @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(name = "dynamic-update")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String dynamicUpdate;
    @XmlAttribute(name = "dynamic-insert")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String dynamicInsert;
    @XmlAttribute(name = "select-before-update")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String selectBeforeUpdate;
    @XmlAttribute(name = "extends")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String _extends;
    @XmlAttribute
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String lazy;
    @XmlAttribute(name = "abstract")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String _abstract;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String persister;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String check;
    @XmlAttribute(name = "batch-size")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String batchSize;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String node;
    protected java.util.List meta;
    protected String subselect;
    protected java.util.List synchronize;
    protected String comment;
    protected java.util.List tuplizer;
    @XmlElement(required = true)
    protected Key key;
    @XmlElements({
        @XmlElement(name = "property", type = Property.class),
        @XmlElement(name = "many-to-one", type = ManyToOne.class),
        @XmlElement(name = "one-to-one", type = OneToOne.class),
        @XmlElement(name = "component", type = Component.class),
        @XmlElement(name = "dynamic-component", type = DynamicComponent.class),
        @XmlElement(name = "properties", type = Properties.class),
        @XmlElement(name = "any", type = Any.class),
        @XmlElement(name = "map", type = Map.class),
        @XmlElement(name = "set", type = Set.class),
        @XmlElement(name = "list", type = org.jvnet.hyperjaxb3.hibernate.mapping.List.class),
        @XmlElement(name = "bag", type = Bag.class),
        @XmlElement(name = "idbag", type = Idbag.class),
        @XmlElement(name = "array", type = Array.class),
        @XmlElement(name = "primitive-array", type = PrimitiveArray.class)
    })
    protected java.util.List propertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray;
    @XmlElement(name = "joined-subclass")
    protected java.util.List joinedSubclass;
    protected Loader loader;
    @XmlElement(name = "sql-insert")
    protected SqlInsert sqlInsert;
    @XmlElement(name = "sql-update")
    protected SqlUpdate sqlUpdate;
    @XmlElement(name = "sql-delete")
    protected SqlDelete sqlDelete;
    protected java.util.List resultset;
    @XmlElements({
        @XmlElement(name = "query", type = Query.class),
        @XmlElement(name = "sql-query", type = SqlQuery.class)
    })
    protected java.util.List queryOrSqlQuery;

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

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

    /**
     * Sets the value of the proxy property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setProxy(String value) {
        this.proxy = 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 dynamicUpdate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDynamicUpdate() {
        if (dynamicUpdate == null) {
            return "false";
        } else {
            return dynamicUpdate;
        }
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the value of the abstract property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAbstract(String value) {
        this._abstract = 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 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 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 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 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 java.util.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 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 java.util.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 tuplizer 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 tuplizer property. * *

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

     *    getTuplizer().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Tuplizer } * * */ public java.util.List getTuplizer() { if (tuplizer == null) { tuplizer = new ArrayList(); } return this.tuplizer; } /** * 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 propertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray 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 propertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray property. * *

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

     *    getPropertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Property } * {@link ManyToOne } * {@link OneToOne } * {@link Component } * {@link DynamicComponent } * {@link Properties } * {@link Any } * {@link Map } * {@link Set } * {@link org.jvnet.hyperjaxb3.hibernate.mapping.List } * {@link Bag } * {@link Idbag } * {@link Array } * {@link PrimitiveArray } * * */ public java.util.List getPropertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray() { if (propertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray == null) { propertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray = new ArrayList(); } return this.propertyOrManyToOneOrOneToOneOrComponentOrDynamicComponentOrPropertiesOrAnyOrMapOrSetOrListOrBagOrIdbagOrArrayOrPrimitiveArray; } /** * Gets the value of the joinedSubclass 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 joinedSubclass property. * *

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

     *    getJoinedSubclass().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JoinedSubclass } * * */ public java.util.List getJoinedSubclass() { if (joinedSubclass == null) { joinedSubclass = new ArrayList(); } return this.joinedSubclass; } /** * 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 resultset 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 resultset property. * *

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

     *    getResultset().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Resultset } * * */ public java.util.List getResultset() { if (resultset == null) { resultset = new ArrayList(); } return this.resultset; } /** * Gets the value of the queryOrSqlQuery 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 queryOrSqlQuery property. * *

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

     *    getQueryOrSqlQuery().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Query } * {@link SqlQuery } * * */ public java.util.List getQueryOrSqlQuery() { if (queryOrSqlQuery == null) { queryOrSqlQuery = new ArrayList(); } return this.queryOrSqlQuery; } }