org.hibernate.internal.jaxb.mapping.orm.JaxbGeneratedValue 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: 2014.05.28 at 02:02:04 PM PDT
//
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 GeneratedValue {
* }
* GenerationType strategy() default AUTO; String generator() default "";
*
*
* Java class for generated-value complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="generated-value">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="strategy" type="{http://java.sun.com/xml/ns/persistence/orm}generation-type" />
* <attribute name="generator" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "generated-value")
public class JaxbGeneratedValue {
@XmlAttribute
protected JaxbGenerationType strategy;
@XmlAttribute
protected String generator;
/**
* Gets the value of the strategy property.
*
* @return
* possible object is
* {@link JaxbGenerationType }
*
*/
public JaxbGenerationType getStrategy() {
return strategy;
}
/**
* Sets the value of the strategy property.
*
* @param value
* allowed object is
* {@link JaxbGenerationType }
*
*/
public void setStrategy(JaxbGenerationType value) {
this.strategy = value;
}
/**
* Gets the value of the generator property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGenerator() {
return generator;
}
/**
* Sets the value of the generator property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGenerator(String value) {
this.generator = value;
}
}