org.eclipse.jpt.core.jpa2.resource.java
Interface AssociationOverride2_0Annotation

All Superinterfaces:
Annotation, AssociationOverrideAnnotation, JavaResourceNode, Model, OverrideAnnotation

public interface AssociationOverride2_0Annotation
extends AssociationOverrideAnnotation

Corresponds to the JPA 2.0 annotation javax.persistence.AssociationOverride 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.3
Version:
2.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode
JavaResourceNode.Root
 
Field Summary
static java.lang.String JOIN_TABLE_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.core.resource.java.AssociationOverrideAnnotation
ANNOTATION_NAME, JOIN_COLUMNS_LIST
 
Fields inherited from interface org.eclipse.jpt.core.resource.java.OverrideAnnotation
NAME_PROPERTY
 
Method Summary
 JoinTableAnnotation addJoinTable()
          Add the 'joinTable' element to the AssociationOverride annotation.
 JoinTableAnnotation getJoinTable()
          Corresponds to the 'joinTable' element of the AssociationOverride annotation.
 JoinTableAnnotation getNonNullJoinTable()
           
 void removeJoinTable()
          Remove the 'joinTable' element from the AssociationOverride annotation.
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.AssociationOverrideAnnotation
addJoinColumn, indexOfJoinColumn, joinColumnAt, joinColumns, joinColumnsSize, moveJoinColumn, removeJoinColumn
 
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.Annotation
getAnnotationName, getAstAnnotation, newAnnotation, removeAnnotation
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

Field Detail

JOIN_TABLE_PROPERTY

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

getJoinTable

JoinTableAnnotation getJoinTable()
Corresponds to the 'joinTable' element of the AssociationOverride annotation. Return null if the element does not exist in Java.


getNonNullJoinTable

JoinTableAnnotation getNonNullJoinTable()

addJoinTable

JoinTableAnnotation addJoinTable()
Add the 'joinTable' element to the AssociationOverride annotation.


removeJoinTable

void removeJoinTable()
Remove the 'joinTable' element from the AssociationOverride annotation.