org.eclipse.jpt.core.resource.java
Interface AssociationOverrideAnnotation

All Superinterfaces:
JavaResourceNode, Model, OverrideAnnotation
All Known Subinterfaces:
NestableAssociationOverride

public interface AssociationOverrideAnnotation
extends OverrideAnnotation

Corresponds to the javax.persistence.AssociationOverride annotation 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.


Field Summary
static java.lang.String ANNOTATION_NAME
           
static java.lang.String JOIN_COLUMNS_LIST
           
 
Fields inherited from interface org.eclipse.jpt.core.resource.java.OverrideAnnotation
NAME_PROPERTY
 
Method Summary
 JoinColumnAnnotation addJoinColumn(int index)
           
 int indexOfJoinColumn(JoinColumnAnnotation joinColumn)
           
 JoinColumnAnnotation joinColumnAt(int index)
           
 java.util.ListIterator<JoinColumnAnnotation> joinColumns()
          Corresponds to the joinColumns element of the AssociationOverride annotation.
 int joinColumnsSize()
           
 void moveJoinColumn(int targetIndex, int sourceIndex)
           
 void removeJoinColumn(int index)
           
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.OverrideAnnotation
getName, getNameTextRange, nameTouches, setName
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode
getJpaCompilationUnit, getResourceModel, getTextRange, initialize, updateFromJava
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 

Field Detail

ANNOTATION_NAME

static final java.lang.String ANNOTATION_NAME
See Also:
Constant Field Values

JOIN_COLUMNS_LIST

static final java.lang.String JOIN_COLUMNS_LIST
See Also:
Constant Field Values
Method Detail

joinColumns

java.util.ListIterator<JoinColumnAnnotation> joinColumns()
Corresponds to the joinColumns element of the AssociationOverride annotation. Returns an empty iterator if the joinColumns element does not exist in java.


joinColumnAt

JoinColumnAnnotation joinColumnAt(int index)

indexOfJoinColumn

int indexOfJoinColumn(JoinColumnAnnotation joinColumn)

joinColumnsSize

int joinColumnsSize()

addJoinColumn

JoinColumnAnnotation addJoinColumn(int index)

removeJoinColumn

void removeJoinColumn(int index)

moveJoinColumn

void moveJoinColumn(int targetIndex,
                    int sourceIndex)