Note: This ORM/SQL annotation is silently ignored by ObjectDB

javax.jdo.annotations.Inheritance - JDO annotation

javax.jdo.annotations
Annotation Inheritance

Target:
Classes
Annotation for the inheritance of the class. Corresponds to the xml element "inheritance" of the "class" and "interface" elements.
Since:
JDO 2.1
Custom inheritance strategy.
Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED.
Returns:
the custom inheritance strategy
Default value:
""
Since:
JDO 2.1
Strategy to use for inheritance.
Strategy to use for inheritance. Specifies in which table(s) the members for the class are stored.
Returns:
the inheritance strategy
Default value:
javax.jdo.annotations.InheritanceStrategy.UNSPECIFIED
Since:
JDO 2.1

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.