Top Description Methods
org.hibernate.annotations

public @Interface AnyMetaDef

extends Annotation
Annotations
@Target:PACKAGE, TYPE, METHOD, FIELD
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PACKAGE, .ElementType.TYPE, .RetentionPolicy.RUNTIME

Defines @Any and @manyToAny metadata
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public String
idType()

Hibernate type of the id column

public String
metaType()

meta discriminator Hibernate type

public MetaValue[]
metaValues()

Matching discriminator values with their respective entity

public 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

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

idTypeback to summary
public String idType()

Hibernate type of the id column

metaTypeback to summary
public String metaType()

meta discriminator Hibernate type

metaValuesback to summary
public MetaValue[] metaValues()

Matching discriminator values with their respective entity

nameback to summary
public 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