|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Converter
A Converter is used to customize the values during the reading from the database into the object model as well as during the writing back of changes into the database. This annotation allows developers to define a named converter that can be used in their mappings. A converter can be defined on an entity class, method, or field. A Converter 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 a Converter is always specified via the Convert annotation and is supported on a Basic, BasicMap or BasicCollection mapping.
Convert
Required Element Summary | |
---|---|
java.lang.Class |
converterClass
(Required) The converter class to be used. |
java.lang.String |
name
(Required) Name this converter. |
Element Detail |
---|
public abstract java.lang.String name
public abstract java.lang.Class converterClass
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |