Dali Provisional API
Release 3.2

org.eclipse.jpt.common.core.resource.java
Interface NestableAnnotation

All Superinterfaces:
Annotation, JavaResourceModel, Model
All Known Subinterfaces:
AssociationOverrideAnnotation, AssociationOverrideAnnotation2_0, AttributeOverrideAnnotation, BaseJoinColumnAnnotation, BaseTypeConverterAnnotation, CompleteJoinColumnAnnotation, ConversionValueAnnotation, ConverterAnnotation, JoinColumnAnnotation, MapKeyJoinColumnAnnotation2_0, NamedConverterAnnotation, NamedNativeQueryAnnotation, NamedQueryAnnotation, NamedQueryAnnotation2_0, ObjectTypeConverterAnnotation, OverrideAnnotation, PrimaryKeyJoinColumnAnnotation, QueryAnnotation, QueryHintAnnotation, SecondaryTableAnnotation, StructConverterAnnotation, TenantDiscriminatorColumnAnnotation2_3, TypeConverterAnnotation, UniqueConstraintAnnotation, XmlElementAnnotation, XmlElementRefAnnotation, XmlJavaTypeAdapterAnnotation, XmlJoinNodeAnnotation, XmlNsAnnotation, XmlPathAnnotation, XmlSchemaTypeAnnotation

public interface NestableAnnotation
extends Annotation

Interface for dealing with annotations that can be "nested" within other annotations, typically within arrays. 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.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel
JavaResourceModel.FileTransformer, JavaResourceModel.Root
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel
FILE_TRANSFORMER
 
Method Summary
 void moveAnnotation(int index)
          Move the annotation to the specified index within its container annotation.
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.Annotation
getAnnotationName, getAstAnnotation, initialize, initialize, isUnset, newAnnotation, removeAnnotation, synchronizeWith, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel
getFile, getJavaResourceCompilationUnit, getParent, getRoot, getTextRange
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 

Method Detail

moveAnnotation

void moveAnnotation(int index)
Move the annotation to the specified index within its container annotation. This should only be called when the annotation is actually nested.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.