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.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 buildAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent, Attribute attribute, java.lang.String annotationName)
          Build an attribute supporting annotation with the specified name.
 Annotation buildNullAttributeMappingAnnotation(JavaResourcePersistentAttribute parent, Attribute attribute, java.lang.String annotationName)
          Build a null attribute mapping annotation with the specified name.
 Annotation buildNullAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent, Attribute attribute, java.lang.String annotationName)
          Build a null attribute supporting annotation with the specified name.
 Annotation buildNullTypeMappingAnnotation(JavaResourcePersistentType parent, Type type, java.lang.String annotationName)
          Build a null type mapping annotation with the specified name.
 Annotation buildNullTypeSupportingAnnotation(JavaResourcePersistentType parent, Type type, java.lang.String annotationName)
          Build a null type supporting annotation with the specified name.
 Annotation buildTypeMappingAnnotation(JavaResourcePersistentType parent, Type type, java.lang.String annotationName)
          Build a type mapping annotation with the specified name.
 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

typeMappingAnnotationNames

java.util.ListIterator<java.lang.String> typeMappingAnnotationNames()
Return the names of the mapping annotations that can modify a type.


buildTypeMappingAnnotation

Annotation buildTypeMappingAnnotation(JavaResourcePersistentType parent,
                                      Type type,
                                      java.lang.String annotationName)
Build a type mapping annotation with the specified name.


buildNullTypeMappingAnnotation

Annotation buildNullTypeMappingAnnotation(JavaResourcePersistentType parent,
                                          Type type,
                                          java.lang.String annotationName)
Build a null type mapping annotation with the specified name.


typeSupportingAnnotationNames

java.util.ListIterator<java.lang.String> typeSupportingAnnotationNames()
Return the names of the supporting annotations that can modify a type.


buildTypeSupportingAnnotation

Annotation buildTypeSupportingAnnotation(JavaResourcePersistentType parent,
                                         Type type,
                                         java.lang.String annotationName)
Build a type supporting annotation with the specified name.


buildNullTypeSupportingAnnotation

Annotation buildNullTypeSupportingAnnotation(JavaResourcePersistentType parent,
                                             Type type,
                                             java.lang.String annotationName)
Build a null type supporting annotation with the specified name.


attributeMappingAnnotationNames

java.util.ListIterator<java.lang.String> attributeMappingAnnotationNames()
Return the names of the mapping annotations that can modify an attribute.


buildAttributeMappingAnnotation

Annotation buildAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
                                           Attribute attribute,
                                           java.lang.String annotationName)
Build an attribute mapping annotation with the specified name.


buildNullAttributeMappingAnnotation

Annotation buildNullAttributeMappingAnnotation(JavaResourcePersistentAttribute parent,
                                               Attribute attribute,
                                               java.lang.String annotationName)
Build a null attribute mapping annotation with the specified name.


attributeSupportingAnnotationNames

java.util.ListIterator<java.lang.String> attributeSupportingAnnotationNames()
Return the names of the supporting annotations that can modify an attribute.


buildAttributeSupportingAnnotation

Annotation buildAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
                                              Attribute attribute,
                                              java.lang.String annotationName)
Build an attribute supporting annotation with the specified name.


buildNullAttributeSupportingAnnotation

Annotation buildNullAttributeSupportingAnnotation(JavaResourcePersistentAttribute parent,
                                                  Attribute attribute,
                                                  java.lang.String annotationName)
Build a null attribute supporting annotation with the specified name.