org.hibernate.internal.jaxb.mapping.orm.JaxbBasic 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: 2013.04.25 at 10:42:10 AM EDT
//
package org.hibernate.internal.jaxb.mapping.orm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
*
* @Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Basic {
* FetchType fetch() default EAGER; boolean optional() default true;
* }
*
*
* Java class for basic complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="basic">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="column" type="{http://java.sun.com/xml/ns/persistence/orm}column" minOccurs="0"/>
* <choice>
* <element name="lob" type="{http://java.sun.com/xml/ns/persistence/orm}lob" minOccurs="0"/>
* <element name="temporal" type="{http://java.sun.com/xml/ns/persistence/orm}temporal" minOccurs="0"/>
* <element name="enumerated" type="{http://java.sun.com/xml/ns/persistence/orm}enumerated" minOccurs="0"/>
* </choice>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="fetch" type="{http://java.sun.com/xml/ns/persistence/orm}fetch-type" />
* <attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "basic", propOrder = {
"column",
"lob",
"temporal",
"enumerated"
})
public class JaxbBasic {
protected JaxbColumn column;
protected JaxbLob lob;
protected JaxbTemporalType temporal;
protected JaxbEnumType enumerated;
@XmlAttribute(required = true)
protected String name;
@XmlAttribute
protected JaxbFetchType fetch;
@XmlAttribute
protected Boolean optional;
@XmlAttribute
protected JaxbAccessType access;
/**
* Gets the value of the column property.
*
* @return
* possible object is
* {@link JaxbColumn }
*
*/
public JaxbColumn getColumn() {
return column;
}
/**
* Sets the value of the column property.
*
* @param value
* allowed object is
* {@link JaxbColumn }
*
*/
public void setColumn(JaxbColumn value) {
this.column = value;
}
/**
* Gets the value of the lob property.
*
* @return
* possible object is
* {@link JaxbLob }
*
*/
public JaxbLob getLob() {
return lob;
}
/**
* Sets the value of the lob property.
*
* @param value
* allowed object is
* {@link JaxbLob }
*
*/
public void setLob(JaxbLob value) {
this.lob = value;
}
/**
* Gets the value of the temporal property.
*
* @return
* possible object is
* {@link JaxbTemporalType }
*
*/
public JaxbTemporalType getTemporal() {
return temporal;
}
/**
* Sets the value of the temporal property.
*
* @param value
* allowed object is
* {@link JaxbTemporalType }
*
*/
public void setTemporal(JaxbTemporalType value) {
this.temporal = value;
}
/**
* Gets the value of the enumerated property.
*
* @return
* possible object is
* {@link JaxbEnumType }
*
*/
public JaxbEnumType getEnumerated() {
return enumerated;
}
/**
* Sets the value of the enumerated property.
*
* @param value
* allowed object is
* {@link JaxbEnumType }
*
*/
public void setEnumerated(JaxbEnumType value) {
this.enumerated = 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 fetch property.
*
* @return
* possible object is
* {@link JaxbFetchType }
*
*/
public JaxbFetchType getFetch() {
return fetch;
}
/**
* Sets the value of the fetch property.
*
* @param value
* allowed object is
* {@link JaxbFetchType }
*
*/
public void setFetch(JaxbFetchType value) {
this.fetch = value;
}
/**
* Gets the value of the optional property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isOptional() {
return optional;
}
/**
* Sets the value of the optional property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOptional(Boolean value) {
this.optional = value;
}
/**
* Gets the value of the access property.
*
* @return
* possible object is
* {@link JaxbAccessType }
*
*/
public JaxbAccessType getAccess() {
return access;
}
/**
* Sets the value of the access property.
*
* @param value
* allowed object is
* {@link JaxbAccessType }
*
*/
public void setAccess(JaxbAccessType value) {
this.access = value;
}
}