|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JpaAnnotationProvider
This is used to provide type and attribute mapping and supporting annotations. Also provides list of supported annotation names, check the appropriate list before trying to build an annotation with that name. An exception will be thrown on an attempt to build an annotation that does not exist. This interface is not intended to be implemented. Instead implement JpaAnnotationDefinitionProvider to extend the list of supported annotation definitions.
JpaAnnotationDefinitionProvider| Method Summary | |
|---|---|
java.util.ListIterator<java.lang.String> |
attributeMappingAnnotationNames()
Return the names of the mapping annotations that can modify an attribute. |
java.util.ListIterator<java.lang.String> |
attributeSupportingAnnotationNames()
Return the names of the supporting annotations that can modify an attribute. |
Annotation |
buildAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
Attribute attribute,
java.lang.String annotationName)
Build an attribute mapping annotation with the specified name. |
Annotation |
buildAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
Build an attribute mapping annotation for the specified JDT annotation. |
Annotation |
buildAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
Attribute attribute,
java.lang.String annotationName)
Build an attribute supporting annotation with the specified name. |
Annotation |
buildAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
Build an attribute supporting annotation for the specified JDT annotation. |
Annotation |
buildNullAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
java.lang.String annotationName)
Build a null attribute mapping annotation with the specified name. |
Annotation |
buildNullAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
java.lang.String annotationName)
Build a null attribute supporting annotation with the specified name. |
Annotation |
buildNullTypeSupportingAnnotation(JavaResourcePersistentType parent,
java.lang.String annotationName)
Build a null type supporting annotation with the specified name. |
Annotation |
buildTypeMappingAnnotation(JavaResourcePersistentType parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
Build a type mapping annotation for the specified JDT annotation. |
Annotation |
buildTypeMappingAnnotation(JavaResourcePersistentType parent,
Type type,
java.lang.String annotationName)
Build a type mapping annotation with the specified name. |
Annotation |
buildTypeSupportingAnnotation(JavaResourcePersistentType parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
Build a type supporting annotation for the specified JDT annotation. |
Annotation |
buildTypeSupportingAnnotation(JavaResourcePersistentType parent,
Type type,
java.lang.String annotationName)
Build a type supporting annotation with the specified name. |
java.util.ListIterator<java.lang.String> |
typeMappingAnnotationNames()
Return the names of the mapping annotations that can modify a type. |
java.util.ListIterator<java.lang.String> |
typeSupportingAnnotationNames()
Return the names of the supporting annotations that can modify a type. |
| Method Detail |
|---|
java.util.ListIterator<java.lang.String> typeMappingAnnotationNames()
Annotation buildTypeMappingAnnotation(JavaResourcePersistentType parent,
Type type,
java.lang.String annotationName)
typeMappingAnnotationNames()
Annotation buildTypeMappingAnnotation(JavaResourcePersistentType parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
typeMappingAnnotationNames()java.util.ListIterator<java.lang.String> typeSupportingAnnotationNames()
Annotation buildTypeSupportingAnnotation(JavaResourcePersistentType parent,
Type type,
java.lang.String annotationName)
typeSupportingAnnotationNames()
Annotation buildTypeSupportingAnnotation(JavaResourcePersistentType parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
typeSupportingAnnotationNames()
Annotation buildNullTypeSupportingAnnotation(JavaResourcePersistentType parent,
java.lang.String annotationName)
typeSupportingAnnotationNames()java.util.ListIterator<java.lang.String> attributeMappingAnnotationNames()
Annotation buildAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
Attribute attribute,
java.lang.String annotationName)
attributeMappingAnnotationNames()
Annotation buildAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
attributeMappingAnnotationNames()
Annotation buildNullAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
java.lang.String annotationName)
attributeMappingAnnotationNames()java.util.ListIterator<java.lang.String> attributeSupportingAnnotationNames()
Annotation buildAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
Attribute attribute,
java.lang.String annotationName)
attributeSupportingAnnotationNames()
Annotation buildAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
attributeSupportingAnnotationNames()
Annotation buildNullAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
java.lang.String annotationName)
attributeSupportingAnnotationNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||