Package org.apache.openejb.jee.jpa
Class Inheritance
- java.lang.Object
-
- org.apache.openejb.jee.jpa.Inheritance
-
public class Inheritance extends Object
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://java.sun.com/xml/ns/persistence/orm}inheritance-type" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected InheritanceTypestrategy
-
Constructor Summary
Constructors Constructor Description Inheritance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InheritanceTypegetStrategy()Gets the value of the strategy property.voidsetStrategy(InheritanceType value)Sets the value of the strategy property.
-
-
-
Field Detail
-
strategy
protected InheritanceType strategy
-
-
Method Detail
-
getStrategy
public InheritanceType getStrategy()
Gets the value of the strategy property.- Returns:
- possible object is
InheritanceType
-
setStrategy
public void setStrategy(InheritanceType value)
Sets the value of the strategy property.- Parameters:
value- allowed object isInheritanceType
-
-