Annotation Type DiscriminatorClass


  • @Target({})
    @Retention(RUNTIME)
    public @interface DiscriminatorClass
    A DiscriminatorClass is used within a VariableOneToOne annotation.
    Since:
    Eclipselink 1.0
    Author:
    Guy Pelletier
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String discriminator
      (Required) The discriminator to be stored on the database.
      Class value
      (Required) The class to the instantiated with the given discriminator.
    • Element Detail

      • discriminator

        String discriminator
        (Required) The discriminator to be stored on the database.
      • value

        Class value
        (Required) The class to the instantiated with the given discriminator.