@Target(value={PACKAGE,TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface AnyMetaDef
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
idType
Hibernate type of the id column
|
java.lang.String |
metaType
meta discriminator Hibernate type
|
MetaValue[] |
metaValues
Matching discriminator values with their respective entity
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.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
|
public abstract java.lang.String metaType
public abstract java.lang.String idType
public abstract MetaValue[] metaValues
public abstract java.lang.String name
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.