org.eclipse.jpt.core.context
Interface ConvertibleMapping
- All Known Subinterfaces:
- BasicMapping, EclipseLinkBasicMapping, EclipseLinkElementCollectionMapping2_0, EclipseLinkIdMapping, EclipseLinkVersionMapping, ElementCollectionMapping2_0, IdMapping, IdMapping2_0, JavaBasicMapping, JavaElementCollectionMapping2_0, JavaIdMapping, JavaVersionMapping, OrmBasicMapping, OrmElementCollectionMapping2_0, OrmIdMapping, OrmVersionMapping, VersionMapping
public interface ConvertibleMapping
Provisional API: This interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
- Since:
- 2.1
- Version:
- 2.3
|
Method Summary |
Converter |
getConverter()
Return a converter of type Converter.NO_CONVERTER
instead of null if no converter is specified. |
void |
setConverter(java.lang.String converterType)
Set the converter type, adding the converter to the resource model
and removing the old converter, if any, from the resource model. |
CONVERTER_PROPERTY
static final java.lang.String CONVERTER_PROPERTY
- See Also:
- Constant Field Values
getConverter
Converter getConverter()
- Return a converter of type Converter.NO_CONVERTER
instead of null if no converter is specified.
setConverter
void setConverter(java.lang.String converterType)
- Set the converter type, adding the converter to the resource model
and removing the old converter, if any, from the resource model. JPA 1.0
support Enumerated, Lob, and Temporal as converter types.
Converter.ENUMERATED_CONVERTER
Converter.LOB_CONVERTER
Converter.TEMPORAL_CONVERTER
Converter.NO_CONVERTER