Annotation Type ObjectTypeConverter
-
@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface ObjectTypeConverterThe ObjectTypeConverter annotation is used to specify a TopLink org.eclipse.persistence.mappings.converters.ObjectTypeConverter that converts a fixed number of database data value(s) to Java object value(s) during the reading and writing of a mapped attribute An ObjectTypeConverter must be be uniquely identified by name and can be defined at the class, field and property level and can be specified within an Entity, MappedSuperclass and Embeddable class. The usage of an ObjectTypeConverter is specified via the Convert annotation and is supported on a Basic, or ElementCollection mapping.- Since:
- Oracle TopLink 11.1.1.0.0
- Author:
- Guy Pelletier
- See Also:
Convert
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ConversionValue[]conversionValues(Required) Specify the conversion values to be used with the object converter.java.lang.Stringname(Required) Name this converter.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.ClassdataType(Optional) Specify the type stored on the database.java.lang.StringdefaultObjectValue(Optional) Specify a default object value.java.lang.ClassobjectType(Optional) Specify the type stored on the entity.
-
-
-
-
conversionValues
ConversionValue[] conversionValues
(Required) Specify the conversion values to be used with the object converter.
-
-