org.eclipse.jpt.core
Interface JpaAnnotationDefinitionProvider


public interface JpaAnnotationDefinitionProvider

Provides annotationDefinitions for types and attributes. JpaAnnotationProvider then uses a collection of these to build annotations. 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.

Since:
2.2
Version:
2.3

Method Summary
 java.util.Iterator<AnnotationDefinition> attributeAnnotationDefinitions()
          Return all annotation definitions which can appear on an attribute
 java.util.Iterator<AnnotationDefinition> typeAnnotationDefinitions()
          Return all annotation definitions which can appear on a type
 java.util.Iterator<AnnotationDefinition> typeMappingAnnotationDefinitions()
          Return all annotation definitions which can appear on a type and are used to determine whether and how the type is persisted (how it is "mapped").
 

Method Detail

typeAnnotationDefinitions

java.util.Iterator<AnnotationDefinition> typeAnnotationDefinitions()
Return all annotation definitions which can appear on a type


typeMappingAnnotationDefinitions

java.util.Iterator<AnnotationDefinition> typeMappingAnnotationDefinitions()
Return all annotation definitions which can appear on a type and are used to determine whether and how the type is persisted (how it is "mapped"). This should be a subset of typeAnnotationDefinitions().


attributeAnnotationDefinitions

java.util.Iterator<AnnotationDefinition> attributeAnnotationDefinitions()
Return all annotation definitions which can appear on an attribute