|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_CONVERTER_PROPERTY
|
static java.lang.String |
SPECIFIED_CONVERTER_PROPERTY
|
| Method Summary | |
|---|---|
Converter |
getConverter()
Return the specified converter if it is not null and the default converter otherwise. |
Converter |
getDefaultConverter()
Return the default converter, NO_CONVERTER except in instances where an underlying model has a converter set (an xml mapping could return a default converter if one is set in java) |
Converter |
getSpecifiedConverter()
Return the specified converter or null, if none is specified in the underlying resource model |
void |
setSpecifiedConverter(java.lang.String converterType)
Set the specified converter type, adding the converter to the resource model and removing the old converter, if any, from the resource model. |
| Field Detail |
|---|
static final java.lang.String DEFAULT_CONVERTER_PROPERTY
static final java.lang.String SPECIFIED_CONVERTER_PROPERTY
| Method Detail |
|---|
Converter getConverter()
Converter getDefaultConverter()
Converter getSpecifiedConverter()
void setSpecifiedConverter(java.lang.String converterType)
Converter.ENUMERATED_CONVERTER
Converter.LOB_CONVERTER
Converter.TEMPORAL_CONVERTER
Converter.NO_CONVERTER
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||