@Target(value={ANNOTATION_TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Value
Modifier and Type | Optional Element and Description |
---|---|
String |
column
Name of the column to store the value in.
|
Column[] |
columns
The column(s) for the value.
|
Class<? extends AttributeConverter> |
converter
Optional
AttributeConverter to use for converting this value. |
ForeignKeyAction |
deleteAction
Delete action to apply to any foreign key for the value.
|
String |
dependent
Whether the value is dependent on the owner (and will be deleted
when the owner is deleted).
|
String |
embedded
Whether this value is embedded.
|
Embedded[] |
embeddedMapping
The embedded mapping for the value.
|
Extension[] |
extensions
Vendor extensions.
|
String |
foreignKey
Name for a generated foreign key constraint.
|
String |
generateForeignKey
Generate or assume a foreign key constraint exists on the column
or columns associated with this join.
|
String |
index
The name of the index to generate.
|
String |
indexed
Whether the value column(s) should be indexed.
|
String |
mappedBy
Name of a member in the key class where this value is stored.
|
String |
serialized
Whether the value is to be stored serialized (into a single column of a
join table).
|
String |
table
Name of the table for the value.
|
Class[] |
types
Types of the values.
|
String |
unique
Whether the element column(s) contents should be considered unique
|
String |
uniqueKey
The name of the unique key constraint to generate.
|
ForeignKeyAction |
updateAction
Update action to apply to any foreign key for the value.
|
boolean |
useDefaultConversion
Whether we should disable any converter that was specified as default for this type on the PMF.
|
public abstract Class[] types
public abstract String serialized
public abstract String embedded
public abstract Embedded[] embeddedMapping
public abstract String dependent
public abstract String table
public abstract String column
public abstract ForeignKeyAction deleteAction
public abstract ForeignKeyAction updateAction
public abstract String indexed
public abstract String index
public abstract String unique
public abstract String uniqueKey
public abstract String mappedBy
public abstract Column[] columns
public abstract String generateForeignKey
public abstract String foreignKey
public abstract Class<? extends AttributeConverter> converter
AttributeConverter
to use for converting this value.public abstract boolean useDefaultConversion
public abstract Extension[] extensions
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.