org.eclipse.jpt.jpa.core.context
Interface AssociationOverride

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, Override_, ReadOnlyAssociationOverride, ReadOnlyOverride
All Known Subinterfaces:
JavaAssociationOverride, OrmAssociationOverride

public interface AssociationOverride
extends Override_, ReadOnlyAssociationOverride

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:
3.0

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyOverride
NAME_PROPERTY
 
Method Summary
 VirtualAssociationOverride convertToVirtual()
          Convert the override to a virtual override.
 OverrideRelationship getRelationship()
           
 void initializeFrom(ReadOnlyAssociationOverride oldOverride)
           
 void initializeFromVirtual(ReadOnlyAssociationOverride virtualOverride)
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.Override_
setName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyAssociationOverride
getContainer, getMapping
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyOverride
getName, isVirtual
 
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

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

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

getRelationship

OverrideRelationship getRelationship()
Specified by:
getRelationship in interface ReadOnlyAssociationOverride

initializeFrom

void initializeFrom(ReadOnlyAssociationOverride oldOverride)

initializeFromVirtual

void initializeFromVirtual(ReadOnlyAssociationOverride virtualOverride)