|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Any
Define a ToOne association pointing to several entity types. Matching the according entity type is doe through a metadata discriminator column This kind of mapping should be only marginal.
Required Element Summary | |
---|---|
Column |
metaColumn
Metadata discriminator column description, This column will hold the meta value corresponding to the targeted entity. |
Optional Element Summary | |
---|---|
FetchType |
fetch
Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. |
String |
metaDef
Metadata definition used. |
boolean |
optional
Whether the association is optional. |
Element Detail |
---|
public abstract Column metaColumn
public abstract String metaDef
public abstract FetchType fetch
public abstract boolean optional
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |