Package javax.jdo.annotations
Annotation Type 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 ElementsModifier and TypeOptional ElementDescriptionCustom inheritance strategy.Strategy to use for inheritance.
-
Element Details
-
strategy
InheritanceStrategy strategyStrategy to use for inheritance. Specifies in which table(s) the members for the class are stored.- Returns:
- the inheritance strategy
- Default:
UNSPECIFIED
-
customStrategy
String customStrategyCustom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED.- Returns:
- the custom inheritance strategy
- Default:
""
-