EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.annotations
Annotation Type DiscriminatorClass


@Target(value={})
@Retention(value=RUNTIME)
public @interface DiscriminatorClass

A DiscriminatorClass is used within a VariableOneToOne annotation.

Author:
Guy Pelletier
Since:
Eclipselink 1.0

Required Element Summary
 java.lang.String discriminator
          (Required) The discriminator to be stored on the database.
 java.lang.Class value
          (Required) The class to the instantiated with the given discriminator.
 

Element Detail

discriminator

public abstract java.lang.String discriminator
(Required) The discriminator to be stored on the database.


value

public abstract java.lang.Class value
(Required) The class to the instantiated with the given discriminator.


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference