Annotation Type AnyMetaDef


  • @Deprecated
    @Target({PACKAGE,TYPE,METHOD,FIELD})
    @Retention(RUNTIME)
    @Repeatable(AnyMetaDefs.class)
    public @interface AnyMetaDef
    Deprecated.
    To be removed in 6.0
    Used to provide metadata about an Any or ManyToAny mapping.
    See Also:
    AnyMetaDefs
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String idType
      Deprecated.
      Names the identifier Hibernate Type for the entity associated through this Any/ManyToAny mapping.
      java.lang.String metaType
      Deprecated.
      Names the discriminator Hibernate Type for this Any/ManyToAny mapping.
      MetaValue[] metaValues
      Deprecated.
      Maps discriminator values to the matching corresponding entity types.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name
      Deprecated.
      If defined, assign a global meta definition name to be used in an @Any or @ManyToAny annotation.
    • Element Detail

      • metaType

        java.lang.String metaType
        Deprecated.
        Names the discriminator Hibernate Type for this Any/ManyToAny mapping. The default is to use StringType
      • idType

        java.lang.String idType
        Deprecated.
        Names the identifier Hibernate Type for the entity associated through this Any/ManyToAny mapping.
      • metaValues

        MetaValue[] metaValues
        Deprecated.
        Maps discriminator values to the matching corresponding entity types.
      • name

        java.lang.String name
        Deprecated.
        If defined, assign a global meta definition name to be used in an @Any or @ManyToAny annotation. If not defined, the metadata applies to the current property or field.
        Default:
        ""