Annotation Type DiscriminatorClass


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

      Required Elements 
      Modifier and Type Required Element Description
      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

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

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