org.hibernate.internal.jaxb.mapping.orm.JaxbId 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.05.22 at 01:35:13 PM 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* @Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Id {}
*
*
* Java class for id complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="id">
* <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"/>
* <element name="generated-value" type="{http://java.sun.com/xml/ns/persistence/orm}generated-value" minOccurs="0"/>
* <element name="temporal" type="{http://java.sun.com/xml/ns/persistence/orm}temporal" minOccurs="0"/>
* <element name="table-generator" type="{http://java.sun.com/xml/ns/persistence/orm}table-generator" minOccurs="0"/>
* <element name="sequence-generator" type="{http://java.sun.com/xml/ns/persistence/orm}sequence-generator" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "id", propOrder = {
"column",
"generatedValue",
"temporal",
"tableGenerator",
"sequenceGenerator"
})
public class JaxbId {
protected JaxbColumn column;
@XmlElement(name = "generated-value")
protected JaxbGeneratedValue generatedValue;
protected JaxbTemporalType temporal;
@XmlElement(name = "table-generator")
protected JaxbTableGenerator tableGenerator;
@XmlElement(name = "sequence-generator")
protected JaxbSequenceGenerator sequenceGenerator;
@XmlAttribute(required = true)
protected String name;
@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 generatedValue property.
*
* @return
* possible object is
* {@link JaxbGeneratedValue }
*
*/
public JaxbGeneratedValue getGeneratedValue() {
return generatedValue;
}
/**
* Sets the value of the generatedValue property.
*
* @param value
* allowed object is
* {@link JaxbGeneratedValue }
*
*/
public void setGeneratedValue(JaxbGeneratedValue value) {
this.generatedValue = 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 tableGenerator property.
*
* @return
* possible object is
* {@link JaxbTableGenerator }
*
*/
public JaxbTableGenerator getTableGenerator() {
return tableGenerator;
}
/**
* Sets the value of the tableGenerator property.
*
* @param value
* allowed object is
* {@link JaxbTableGenerator }
*
*/
public void setTableGenerator(JaxbTableGenerator value) {
this.tableGenerator = value;
}
/**
* Gets the value of the sequenceGenerator property.
*
* @return
* possible object is
* {@link JaxbSequenceGenerator }
*
*/
public JaxbSequenceGenerator getSequenceGenerator() {
return sequenceGenerator;
}
/**
* Sets the value of the sequenceGenerator property.
*
* @param value
* allowed object is
* {@link JaxbSequenceGenerator }
*
*/
public void setSequenceGenerator(JaxbSequenceGenerator value) {
this.sequenceGenerator = 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 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;
}
}