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

org.jvnet.hyperjaxb3.hibernate.mapping.DatabaseObject 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.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "definitionOrCreateOrDrop",
    "dialectScope"
})
@XmlRootElement(name = "database-object")
public class DatabaseObject {

    @XmlElements({
        @XmlElement(name = "definition", required = true, type = Definition.class),
        @XmlElement(name = "create", required = true, type = Create.class),
        @XmlElement(name = "drop", required = true, type = Drop.class)
    })
    protected List definitionOrCreateOrDrop;
    @XmlElement(name = "dialect-scope")
    protected List dialectScope;

    /**
     * Gets the value of the definitionOrCreateOrDrop 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 definitionOrCreateOrDrop property. * *

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

     *    getDefinitionOrCreateOrDrop().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Definition } * {@link Create } * {@link Drop } * * */ public List getDefinitionOrCreateOrDrop() { if (definitionOrCreateOrDrop == null) { definitionOrCreateOrDrop = new ArrayList(); } return this.definitionOrCreateOrDrop; } /** * Gets the value of the dialectScope 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 dialectScope property. * *

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

     *    getDialectScope().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DialectScope } * * */ public List getDialectScope() { if (dialectScope == null) { dialectScope = new ArrayList(); } return this.dialectScope; } }