@Target(value={PACKAGE,TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) @Repeatable(value=AnyMetaDefs.class) public @interface AnyMetaDef
AnyMetaDefs
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
idType
Names the identifier Hibernate Type for the entity associated through this Any/ManyToAny mapping.
|
java.lang.String |
metaType
Names the discriminator Hibernate Type for this Any/ManyToAny mapping.
|
MetaValue[] |
metaValues
Maps discriminator values to the matching corresponding entity types.
|
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.
|
public abstract java.lang.String metaType
StringType
public abstract java.lang.String idType
public abstract MetaValue[] metaValues
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.