|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.jpa.core.context.java.JavaConverter.AbstractAdapter
public abstract static class JavaConverter.AbstractAdapter
| Nested Class Summary | |
|---|---|
static class |
JavaConverter.AbstractAdapter.ConverterParentAdapter
|
| Constructor Summary | |
|---|---|
JavaConverter.AbstractAdapter()
|
|
| Method Summary | |
|---|---|
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. |
protected Annotation |
buildConverterAnnotation(JavaResourceAttribute attribute)
|
protected Annotation |
buildConverterAnnotationIfNecessary(JavaResourceAttribute attribute)
|
protected JavaConverter.ParentAdapter |
buildConverterParentAdapter(JavaAttributeMapping parent)
|
JavaConverter |
buildNewConverter(JavaAttributeMapping parent,
JpaFactory factory)
Build a new converter and, if necessary, its corresponding converter annotation. |
protected abstract String |
getAnnotationName()
|
Annotation |
getConverterAnnotation(JavaResourceAttribute attribute)
Return the adapter's converter annotation for the specified Java resource persistent member. |
void |
removeConverterAnnotation(JavaResourceAttribute attribute)
Remove the adapter's converter annotation from the specified Java resource persistent member. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaConverter.Adapter |
|---|
buildConverter, getConverterType |
| Constructor Detail |
|---|
public JavaConverter.AbstractAdapter()
| Method Detail |
|---|
public JavaConverter buildConverter(JavaAttributeMapping parent,
JpaFactory factory)
JavaConverter.Adapternull otherwise.
This is used to build a converter during construction of the
converter's mapping.
buildConverter in interface JavaConverter.Adapterprotected abstract String getAnnotationName()
public Annotation getConverterAnnotation(JavaResourceAttribute attribute)
JavaConverter.Adapternull 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).
getConverterAnnotation in interface JavaConverter.AdapterJavaConverter.Adapter.buildConverter(Annotation, JavaAttributeMapping, JpaFactory)
public JavaConverter buildNewConverter(JavaAttributeMapping parent,
JpaFactory factory)
JavaConverter.Adapter
buildNewConverter in interface JavaConverter.Adapterprotected Annotation buildConverterAnnotationIfNecessary(JavaResourceAttribute attribute)
protected Annotation buildConverterAnnotation(JavaResourceAttribute attribute)
public void removeConverterAnnotation(JavaResourceAttribute attribute)
JavaConverter.Adapter
removeConverterAnnotation in interface JavaConverter.Adapterprotected JavaConverter.ParentAdapter buildConverterParentAdapter(JavaAttributeMapping parent)
public String toString()
toString in class Object
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||