public class Inheritance extends Object
@Target({TYPE}) @Retention(RUNTIME) public @interface Inheritance { InheritanceType strategy() default SINGLE_TABLE; }
<p>Java class for inheritance complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
Modifier and Type | Field and Description |
---|---|
protected InheritanceType |
strategy |
Constructor and Description |
---|
Inheritance() |
Modifier and Type | Method and Description |
---|---|
InheritanceType |
getStrategy()
Gets the value of the strategy property.
|
void |
setStrategy(InheritanceType value)
Sets the value of the strategy property.
|
protected InheritanceType strategy
public InheritanceType getStrategy()
Gets the value of the strategy property.
InheritanceType
public void setStrategy(InheritanceType value)
Sets the value of the strategy property.
value
- allowed object is
InheritanceType
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.