|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public static interface JavaConverter.Adapter
This interface allows a convertible mapping to interact with various Java converters via the same protocol.
| Method Summary | |
|---|---|
JavaConverter |
buildConverter(Annotation converterAnnotation,
JavaAttributeMapping parent,
JpaFactory factory)
Build a converter using the specified converter annotation. |
JavaConverter |
buildConverter(JavaAttributeMapping parent,
JpaFactory factory)
Build a converter corresponding to the specified mapping if the mapping's resource attribute is modified by the adapter's converter annotation. |
JavaConverter |
buildNewConverter(JavaAttributeMapping parent,
JpaFactory factory)
Build a new converter and, if necessary, its corresponding converter annotation. |
Annotation |
getConverterAnnotation(JavaResourceAttribute javaResourceAttribute)
Return the adapter's converter annotation for the specified Java resource persistent member. |
Class<? extends Converter> |
getConverterType()
Return the type of converter handled by the adapter. |
void |
removeConverterAnnotation(JavaResourceAttribute javaResourcePersistentAttribute)
Remove the adapter's converter annotation from the specified Java resource persistent member. |
| Method Detail |
|---|
Class<? extends Converter> getConverterType()
JavaConverter buildConverter(JavaAttributeMapping parent,
JpaFactory factory)
null otherwise.
This is used to build a converter during construction of the
converter's mapping.
Annotation getConverterAnnotation(JavaResourceAttribute javaResourceAttribute)
null if the adapter's converter annotation is
missing.
The returned converter annotation is compared to the parent's
converter's converter annotation while the context model is synchronized
with the resource model. If it has changed, the parent will build
a new converter (via the adapter).
buildConverter(Annotation, JavaAttributeMapping, JpaFactory)
JavaConverter buildConverter(Annotation converterAnnotation,
JavaAttributeMapping parent,
JpaFactory factory)
getConverterAnnotation(JavaResourceAttribute)
JavaConverter buildNewConverter(JavaAttributeMapping parent,
JpaFactory factory)
void removeConverterAnnotation(JavaResourceAttribute javaResourcePersistentAttribute)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||