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
 java.lang.String customStrategy
          Custom inheritance strategy.
 InheritanceStrategy strategy
          Strategy to use for inheritance.
 

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 java.lang.String customStrategy
Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED.

Returns:
the custom inheritance strategy
Default:
""


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.