javax.jdo.annotations

## Annotation Type Inheritance

-     @Target(value=TYPE)
       @Retention(value=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 and Description
    --- | ---
    `String` | `customStrategy` Custom inheritance strategy.
    `InheritanceStrategy` | `strategy` Strategy to use for inheritance.

- - ### Element Detail

    - #### strategy

          public abstract 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

          public abstract String customStrategy

      Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED.
      Returns:
        the custom inheritance strategy
      Default:
        ""

Copyright © 2005–1970 Apache Software Foundation. All rights reserved.