EclipseLink 1.0_1.0 M5 - 20080305 API Reference - Incubation

org.eclipse.persistence.annotations
Annotation Type Convert


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Convert

The Convert annotation specifies that a named converter should be used with the corresponding mapped attribute. The Convert annotation has the following reserved names: - serialized: Will use an org.eclipse.persistence.mappings.converters.SerializedObjectConverter on the associated mapping. - none - Will place no converter on the associated mapping.

See Also:
Converter, ObjectTypeConverter, TypeConverter
Author:
Guy Pelletier
Since:
Oracle TopLink 11.1.1.0.0

Optional Element Summary
 java.lang.String value
          (Optional) The name of the converter to be used.
 

value

public abstract java.lang.String value
(Optional) The name of the converter to be used.

Default:
"none"

EclipseLink 1.0_1.0 M5 - 20080305 API Reference - Incubation