org.eclipse.jpt.jpa.core.context.java
Interface JavaAssociationOverride

All Superinterfaces:
AssociationOverride, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaJpaContextNode, JavaOverride, JavaReadOnlyAssociationOverride, JavaReadOnlyOverride, JpaContextNode, JpaNode, Model, Override_, ReadOnlyAssociationOverride, ReadOnlyOverride

public interface JavaAssociationOverride
extends JavaReadOnlyAssociationOverride, AssociationOverride, JavaOverride

Java association override

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.3

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyOverride
NAME_PROPERTY
 
Method Summary
 JavaVirtualAssociationOverride convertToVirtual()
          Convert the override to a virtual override.
 AssociationOverrideAnnotation getOverrideAnnotation()
           
 JavaOverrideRelationship getRelationship()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaReadOnlyAssociationOverride
getContainer
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AssociationOverride
initializeFrom, initializeFromVirtual
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyAssociationOverride
getMapping
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaOverride
getNameTextRange
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.Override_
setName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyOverride
getName, isVirtual
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 

Method Detail

convertToVirtual

JavaVirtualAssociationOverride convertToVirtual()
Description copied from interface: Override_
Convert the override to a virtual override. Return the new override.

Specified by:
convertToVirtual in interface AssociationOverride
Specified by:
convertToVirtual in interface JavaOverride
Specified by:
convertToVirtual in interface Override_
See Also:
ReadOnlyOverride.isVirtual()

getOverrideAnnotation

AssociationOverrideAnnotation getOverrideAnnotation()
Specified by:
getOverrideAnnotation in interface JavaOverride

getRelationship

JavaOverrideRelationship getRelationship()
Specified by:
getRelationship in interface AssociationOverride
Specified by:
getRelationship in interface ReadOnlyAssociationOverride