|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Value
Annotation for the value of a map relation. Corresponds to the xml element "value".
Optional Element Summary | |
---|---|
java.lang.String |
column
Name of the column to store the value in. |
Column[] |
columns
The column(s) for the value. |
ForeignKeyAction |
deleteAction
Delete action to apply to any foreign key for the value. |
java.lang.String |
dependent
Whether the value is dependent on the owner (and will be deleted when the owner is deleted). |
java.lang.String |
embedded
Whether this value is embedded. |
Embedded[] |
embeddedMapping
The embedded mapping for the value. |
Extension[] |
extensions
Vendor extensions. |
java.lang.String |
foreignKey
Name for a generated foreign key constraint. |
java.lang.String |
generateForeignKey
Generate or assume a foreign key constraint exists on the column or columns associated with this join. |
java.lang.String |
index
The name of the index to generate. |
java.lang.String |
indexed
Whether the value column(s) should be indexed. |
java.lang.String |
mappedBy
Name of a member in the key class where this value is stored. |
java.lang.String |
serialized
Whether the value is to be stored serialized (into a single column of a join table). |
java.lang.String |
table
Name of the table for the value. |
java.lang.Class[] |
types
Types of the values. |
java.lang.String |
unique
Whether the element column(s) contents should be considered unique |
java.lang.String |
uniqueKey
The name of the unique key constraint to generate. |
ForeignKeyAction |
updateAction
Update action to apply to any foreign key for the value. |
public abstract java.lang.Class[] types
public abstract java.lang.String serialized
public abstract java.lang.String embedded
public abstract Embedded[] embeddedMapping
public abstract java.lang.String dependent
public abstract java.lang.String table
public abstract java.lang.String column
public abstract ForeignKeyAction deleteAction
public abstract ForeignKeyAction updateAction
public abstract java.lang.String indexed
public abstract java.lang.String index
public abstract java.lang.String unique
public abstract java.lang.String uniqueKey
public abstract java.lang.String mappedBy
public abstract Column[] columns
public abstract java.lang.String generateForeignKey
public abstract java.lang.String foreignKey
public abstract Extension[] extensions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |