|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface FieldAnnotation for defining the persistence of a field.
| Optional Element Summary | |
|---|---|
java.lang.String |
column
Name of the column for storing this field. |
Column[] |
columns
Column details where this field is stored. |
java.lang.String |
defaultFetchGroup
Whether this field is in the default fetch group. |
ForeignKeyAction |
deleteAction
Action for the foreign-key on a delete. |
java.lang.String |
dependent
Whether related object(s) of this field are dependent and so deleted when this object is deleted. |
java.lang.String |
embedded
Whether this field is embedded. |
Extension[] |
extensions
Vendor extensions for this field. |
java.lang.String |
fieldType
Type of the field. |
java.lang.String |
indexed
Whether this field is indexed in the datastore. |
java.lang.String |
loadFetchGroup
Whether to load the fetch group. |
java.lang.String |
mappedBy
Name of the field in the fields class where this value is stored (bidir relations). |
java.lang.String |
nullValue
Behaviour when inserting a null value. |
FieldPersistenceModifier |
persistenceModifier
Modifier for this field. |
boolean |
primaryKey
Whether this field is part of the PK of the class. |
java.lang.String |
recursionDepth
Recursion depth for this field (when part of a fetch group). |
java.lang.String |
sequence
Name of a sequence to use with particular value strategies. |
java.lang.String |
serialized
Whether this field is serialised into a single column. |
java.lang.String |
table
Name of the table storing this field (join table maybe). |
java.lang.String |
unique
Whether this field is unique in the datastore. |
IdGeneratorStrategy |
valueStrategy
Value strategy to use to populate this field (if any): |
public abstract FieldPersistenceModifier persistenceModifier
public abstract java.lang.String defaultFetchGroup
public abstract java.lang.String nullValue
public abstract java.lang.String embedded
public abstract java.lang.String serialized
public abstract java.lang.String dependent
public abstract boolean primaryKey
public abstract IdGeneratorStrategy valueStrategy
public abstract java.lang.String sequence
public abstract java.lang.String mappedBy
public abstract java.lang.String table
public abstract java.lang.String column
public abstract ForeignKeyAction deleteAction
public abstract java.lang.String indexed
public abstract java.lang.String unique
public abstract java.lang.String recursionDepth
public abstract java.lang.String loadFetchGroup
public abstract java.lang.String fieldType
public abstract Column[] columns
public abstract Extension[] extensions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||