|
||||||||||
| 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 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.Iterator<java.lang.String> |
attributeAnnotationNames()
Return the names of the annotations that can appear on an attribute. |
Annotation |
buildAttributeAnnotation(JavaResourcePersistentAttribute parent,
Attribute attribute,
java.lang.String annotationName)
Build an attribute annotation with the specified name. |
Annotation |
buildAttributeAnnotation(JavaResourcePersistentAttribute parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
Build an attribute annotation for the specified JDT annotation. |
Annotation |
buildNullAttributeAnnotation(JavaResourcePersistentAttribute parent,
java.lang.String annotationName)
Build a null attribute annotation with the specified name. |
Annotation |
buildNullTypeAnnotation(JavaResourcePersistentType parent,
java.lang.String annotationName)
Build a null type annotation with the specified name. |
Annotation |
buildTypeAnnotation(JavaResourcePersistentType parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
Build a type annotation for the specified JDT annotation. |
Annotation |
buildTypeAnnotation(JavaResourcePersistentType parent,
Type type,
java.lang.String annotationName)
Build a type annotation with the specified name. |
java.util.Iterator<java.lang.String> |
typeAnnotationNames()
Return the names of the annotations that can appear on a type. |
java.util.Iterator<java.lang.String> |
typeMappingAnnotationNames()
Return the names of the annotations that can appear on a type and are used to determine whether and how the type is persisted (how it is "mapped"). |
| Method Detail |
|---|
java.util.Iterator<java.lang.String> typeAnnotationNames()
java.util.Iterator<java.lang.String> typeMappingAnnotationNames()
typeAnnotationNames().
Annotation buildTypeAnnotation(JavaResourcePersistentType parent,
Type type,
java.lang.String annotationName)
typeAnnotationNames()
Annotation buildTypeAnnotation(JavaResourcePersistentType parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
typeAnnotationNames()
Annotation buildNullTypeAnnotation(JavaResourcePersistentType parent,
java.lang.String annotationName)
typeAnnotationNames()java.util.Iterator<java.lang.String> attributeAnnotationNames()
Annotation buildAttributeAnnotation(JavaResourcePersistentAttribute parent,
Attribute attribute,
java.lang.String annotationName)
attributeAnnotationNames()
Annotation buildAttributeAnnotation(JavaResourcePersistentAttribute parent,
org.eclipse.jdt.core.IAnnotation jdtAnnotation)
attributeAnnotationNames()
Annotation buildNullAttributeAnnotation(JavaResourcePersistentAttribute parent,
java.lang.String annotationName)
#attributeMappingAnnotationNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||