@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.
<complexType name="inheritance">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="strategy" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}inheritance-type" />
</restriction>
</complexContent>
</complexType>