Annotation Type DiscriminatorClass


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

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

    • 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.