## org.hibernate.annotations
Annotation Type AnyMetaDef

    @Target(value={PACKAGE,TYPE,METHOD,FIELD})
    @Retention(value=RUNTIME)
    public @interface AnyMetaDef

Defines @Any and @manyToAny metadata

Author:
  Emmanuel Bernard

Required Element Summary
`String` `idType` Hibernate type of the id column
`String` `metaType` meta discriminator Hibernate type
`MetaValue[]` `metaValues` Matching discriminator values with their respective entity

Optional Element Summary
`String` `name` 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

Element Detail

### metaType

    public abstract String metaType

  meta discriminator Hibernate type

### idType

    public abstract String idType

  Hibernate type of the id column

  Returns:

### metaValues

    public abstract MetaValue[] metaValues

  Matching discriminator values with their respective entity

### name

    public abstract String name

  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:
    ""

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.