javax.jdo.annotations.Discriminator - JDO annotation
Annotation for the discriminator of the class. Corresponds to the xml element "discriminator" of the "inheritance" element.
- Since:
- JDO 2.1
Name of the column for the discriminator
Name of the column for the discriminator
- Returns:
- the name of the column for the discriminator
- Default value:
- ""
- Since:
- JDO 2.1
The column(s) making up the discriminator.
The column(s) making up the discriminator.
- Returns:
- the column(s) making up the discriminator
- Default value:
- {}
- Since:
- JDO 2.1
Custom strategy to use for the discriminator.
Custom strategy to use for the discriminator. If customStrategy is non-empty, then strategy must be UNSPECIFIED.
- Returns:
- the custom strategy
- Default value:
- ""
- Since:
- JDO 2.1
Whether the discriminator is indexed.
Whether the discriminator is indexed.
- Returns:
- whether the discriminator is indexed
- Default value:
- ""
- Since:
- JDO 2.1
Strategy to use for the discriminator.
Strategy to use for the discriminator. The discriminator determines the class associated with a row in the datastore.
- Returns:
- the strategy to use for the discriminator
- Default value:
- javax.jdo.annotations.DiscriminatorStrategy.UNSPECIFIED
- Since:
- JDO 2.1
The value for the discriminator for objects of this class when using "value-map" strategy.
The value for the discriminator for objects of this class when using "value-map" strategy.
- Returns:
- The value for the discriminator for objects of this class when using "value-map" strategy
- Default value:
- ""
- Since:
- JDO 2.1