Package javax.jdo.annotations
Annotation Type Inheritance
-
@Target(TYPE) @Retention(RUNTIME) public @interface Inheritance
Annotation for the inheritance of the class. Corresponds to the xml element "inheritance" of the "class" and "interface" elements.- Since:
- 2.1
- Version:
- 2.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
customStrategy
Custom inheritance strategy.InheritanceStrategy
strategy
Strategy to use for inheritance.
-
-
-
Element Detail
-
strategy
InheritanceStrategy strategy
Strategy to use for inheritance. Specifies in which table(s) the members for the class are stored.- Returns:
- the inheritance strategy
- Default:
- javax.jdo.annotations.InheritanceStrategy.UNSPECIFIED
-
-
-
customStrategy
String customStrategy
Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED.- Returns:
- the custom inheritance strategy
- Default:
- ""
-
-