|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface TypeConverter
The TypeConverter annotation is used to specify an EclipseLink org.eclipse.persistence.mappings.converters.TypeConversionConverter for modification of the data value(s) during the reading and writing of a mapped attribute. A TypeConverter 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 TypeConverter is always specified via the Convert annotation and is supported on a Basic, BasicMap or BasicCollection mapping.
Convert
Required Element Summary | |
---|---|
java.lang.String |
name (Required) Name this converter. |
Optional Element Summary | |
---|---|
java.lang.Class |
dataType (Optional) Specify the type stored on the database. |
java.lang.Class |
objectType (Optional) Specify the type stored on the entity. |
Element Detail |
---|
public abstract java.lang.String name
public abstract java.lang.Class dataType
public abstract java.lang.Class objectType
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |