Package javax.jdo.annotations
Annotation Type Value
-
@Target({ANNOTATION_TYPE,FIELD,METHOD}) @Retention(RUNTIME) public @interface ValueAnnotation for the value of a map relation. Corresponds to the xml element "value".- Since:
- 2.1
- Version:
- 2.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcolumnName of the column to store the value in.Column[]columnsThe column(s) for the value.java.lang.Class<? extends AttributeConverter>converterOptionalAttributeConverterto use for converting this value.ForeignKeyActiondeleteActionDelete action to apply to any foreign key for the value.java.lang.StringdependentWhether the value is dependent on the owner (and will be deleted when the owner is deleted).java.lang.StringembeddedWhether this value is embedded.Embedded[]embeddedMappingThe embedded mapping for the value.Extension[]extensionsVendor extensions.java.lang.StringforeignKeyName for a generated foreign key constraint.java.lang.StringgenerateForeignKeyGenerate or assume a foreign key constraint exists on the column or columns associated with this join.java.lang.StringindexThe name of the index to generate.java.lang.StringindexedWhether the value column(s) should be indexed.java.lang.StringmappedByName of a member in the key class where this value is stored.java.lang.StringserializedWhether the value is to be stored serialized (into a single column of a join table).java.lang.StringtableName of the table for the value.java.lang.Class[]typesTypes of the values.java.lang.StringuniqueWhether the element column(s) contents should be considered uniquejava.lang.StringuniqueKeyThe name of the unique key constraint to generate.ForeignKeyActionupdateActionUpdate action to apply to any foreign key for the value.booleanuseDefaultConversionWhether we should disable any converter that was specified as default for this type on the PMF.
-
-
-
-
embeddedMapping
Embedded[] embeddedMapping
The embedded mapping for the value.- Returns:
- the embedded mapping for the value
- Default:
- {}
-
-
-
deleteAction
ForeignKeyAction deleteAction
Delete action to apply to any foreign key for the value.- Returns:
- delete action to apply to any foreign key for the value
- Default:
- javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED
-
-
-
updateAction
ForeignKeyAction updateAction
Update action to apply to any foreign key for the value.- Returns:
- update action to apply to any foreign key for the value
- Default:
- javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED
-
-
-
columns
Column[] columns
The column(s) for the value.- Returns:
- the column(s) for the value
- Default:
- {}
-
-
-
converter
java.lang.Class<? extends AttributeConverter> converter
OptionalAttributeConverterto use for converting this value.- Returns:
- Converter class for converting this value when not PersistenceCapable (or NullAttributeConverter when not specified).
- Default:
- javax.jdo.AttributeConverter.UseDefault.class
-
-
-
useDefaultConversion
boolean useDefaultConversion
Whether we should disable any converter that was specified as default for this type on the PMF. Only has any effect when this is explicitly set to true, when any AttributeConverter specified for this type either here or for the class or at the PMF will be ignored and will use the JDO implementation default handling.- Returns:
- Whether PMF attribute conversion is to be disabled.
- Default:
- false
-
-
-
extensions
Extension[] extensions
Vendor extensions.- Returns:
- the vendor extensions
- Default:
- {}
-
-