org.hibernate.internal.jaxb.mapping.hbm.JaxbPropertyElement Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.01.06 at 12:10:24 PM PST
//
package org.hibernate.internal.jaxb.mapping.hbm;
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.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for property-element complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="property-element">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="column" type="{http://www.hibernate.org/xsd/hibernate-mapping}column-element"/>
* <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </choice>
* <element name="type" type="{http://www.hibernate.org/xsd/hibernate-mapping}type-element" minOccurs="0"/>
* </sequence>
* <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="generated" default="never">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="always"/>
* <enumeration value="insert"/>
* <enumeration value="never"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="unique-key" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "property-element", propOrder = {
"meta",
"columnOrFormula",
"type"
})
public class JaxbPropertyElement implements SingularAttributeSource
{
protected List meta;
@XmlElements({
@XmlElement(name = "formula", type = String.class),
@XmlElement(name = "column", type = JaxbColumnElement.class)
})
protected List