org.eclipse.jpt.core
Interface JpaAnnotationProvider


public interface JpaAnnotationProvider

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.


Method Summary
 java.util.Iterator<java.lang.String> attributeAnnotationNames()
          Iterator of fully qualified annotation(non-mapping) names that can apply to an Attribute
 java.util.ListIterator<java.lang.String> attributeMappingAnnotationNames()
          Ordered iterator of fully qualified annotation names that can apply to an Attribute
 Annotation buildAttributeAnnotation(JavaResourcePersistentAttribute parent, Attribute attribute, java.lang.String annotationName)
          Build an Annotation with the given fully qualififed annotation name.
 Annotation buildAttributeMappingAnnotation(JavaResourcePersistentAttribute parent, Attribute attribute, java.lang.String mappingAnnotationName)
          Build a Annotation with the given fully qualififed annotation name.
 Annotation buildNullAttributeAnnotation(JavaResourcePersistentAttribute parent, Attribute attribute, java.lang.String annotationName)
           
 Annotation buildNullAttributeMappingAnnotation(JavaResourcePersistentAttribute parent, Attribute attribute, java.lang.String mappingAnnotationName)
           
 Annotation buildNullTypeAnnotation(JavaResourcePersistentType parent, Type type, java.lang.String annotationName)
           
 Annotation buildNullTypeMappingAnnotation(JavaResourcePersistentType parent, Type type, java.lang.String mappingAnnotationName)
           
 Annotation buildTypeAnnotation(JavaResourcePersistentType parent, Type type, java.lang.String annotationName)
          Build an Annotation with the given fully qualififed annotation name.
 Annotation buildTypeMappingAnnotation(JavaResourcePersistentType parent, Type type, java.lang.String mappingAnnotationName)
          Build an Annotation with the given fully qualififed annotation name.
 java.util.Iterator<java.lang.String> typeAnnotationNames()
          Iterator of fully qualified annotation(non-mapping) names that can apply to a Type
 java.util.ListIterator<java.lang.String> typeMappingAnnotationNames()
          Ordered iterator of fully qualified annotation names that can apply to a Type
 

Method Detail

buildTypeMappingAnnotation

Annotation buildTypeMappingAnnotation(JavaResourcePersistentType parent,
                                      Type type,
                                      java.lang.String mappingAnnotationName)
Build an Annotation with the given fully qualififed annotation name.

Parameters:
type -
mappingAnnotationName -
Returns:

buildNullTypeMappingAnnotation

Annotation buildNullTypeMappingAnnotation(JavaResourcePersistentType parent,
                                          Type type,
                                          java.lang.String mappingAnnotationName)

buildTypeAnnotation

Annotation buildTypeAnnotation(JavaResourcePersistentType parent,
                               Type type,
                               java.lang.String annotationName)
Build an Annotation with the given fully qualififed annotation name.

Parameters:
type -
annotationName -
Returns:

buildNullTypeAnnotation

Annotation buildNullTypeAnnotation(JavaResourcePersistentType parent,
                                   Type type,
                                   java.lang.String annotationName)

typeMappingAnnotationNames

java.util.ListIterator<java.lang.String> typeMappingAnnotationNames()
Ordered iterator of fully qualified annotation names that can apply to a Type


typeAnnotationNames

java.util.Iterator<java.lang.String> typeAnnotationNames()
Iterator of fully qualified annotation(non-mapping) names that can apply to a Type


buildAttributeMappingAnnotation

Annotation buildAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
                                           Attribute attribute,
                                           java.lang.String mappingAnnotationName)
Build a Annotation with the given fully qualififed annotation name.

Parameters:
attribute -
mappingAnnotationName -
Returns:

buildNullAttributeMappingAnnotation

Annotation buildNullAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
                                               Attribute attribute,
                                               java.lang.String mappingAnnotationName)

buildAttributeAnnotation

Annotation buildAttributeAnnotation(JavaResourcePersistentAttribute parent,
                                    Attribute attribute,
                                    java.lang.String annotationName)
Build an Annotation with the given fully qualififed annotation name.

Parameters:
attribute -
annotationName -
Returns:

buildNullAttributeAnnotation

Annotation buildNullAttributeAnnotation(JavaResourcePersistentAttribute parent,
                                        Attribute attribute,
                                        java.lang.String annotationName)

attributeMappingAnnotationNames

java.util.ListIterator<java.lang.String> attributeMappingAnnotationNames()
Ordered iterator of fully qualified annotation names that can apply to an Attribute


attributeAnnotationNames

java.util.Iterator<java.lang.String> attributeAnnotationNames()
Iterator of fully qualified annotation(non-mapping) names that can apply to an Attribute