org.eclipse.jpt.core.resource.java
Interface NestableAnnotation
- All Superinterfaces:
- Annotation, JavaResourceNode, Model
- All Known Subinterfaces:
- NamedQuery2_0Annotation, NamedQueryAnnotation, NestableAssociationOverrideAnnotation, NestableAttributeOverrideAnnotation, NestableColumnAnnotation, NestableEclipseLinkConversionValueAnnotation, NestableJoinColumnAnnotation, NestableJoinTableAnnotation, NestableMapKeyJoinColumnAnnotation, NestableNamedNativeQueryAnnotation, NestableNamedQueryAnnotation, NestablePrimaryKeyJoinColumnAnnotation, NestableQueryHintAnnotation, NestableSecondaryTableAnnotation, NestableUniqueConstraintAnnotation
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
- Version:
- 2.0
| Methods inherited from interface org.eclipse.jpt.utility.model.Model |
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
initializeFrom
void initializeFrom(NestableAnnotation oldAnnotation)
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.