blob: 4b298beba4880b9b719b67c2baf25f910499f1ab [file] [log] [blame]
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Inheritance
{
/** Strategy to use for inheritance. Specifies in which table(s)
* the members for the class are stored.
* @return the inheritance strategy
*/
InheritanceStrategy strategy() default InheritanceStrategy.UNSPECIFIED;
/** Custom inheritance strategy. If customStrategy is non-empty, then
* strategy must be UNSPECIFIED.
* @return the custom inheritance strategy
*/
String customStrategy() default "";
}