org.hibernate.jpamodelgen.xml.jaxb.Inheritance Maven / Gradle / Ivy
package org.hibernate.jpamodelgen.xml.jaxb;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* @Target({TYPE}) @Retention(RUNTIME)
* public @interface Inheritance {
* InheritanceType strategy() default SINGLE_TABLE;
* }
*
*
*
* Java class for inheritance complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "inheritance", namespace = "https://jakarta.ee/xml/ns/persistence/orm")
public class Inheritance {
@XmlAttribute(name = "strategy")
protected InheritanceType strategy;
/**
* Gets the value of the strategy property.
*
* @return
* possible object is
* {@link InheritanceType }
*
*/
public InheritanceType getStrategy() {
return strategy;
}
/**
* Sets the value of the strategy property.
*
* @param value
* allowed object is
* {@link InheritanceType }
*
*/
public void setStrategy(InheritanceType value) {
this.strategy = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy