org.eclipse.jpt.core.context
Interface AssociationOverride

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

public interface AssociationOverride
extends BaseOverride

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

Nested Class Summary
static interface AssociationOverride.Owner
           
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.BaseOverride
NAME_PROPERTY
 
Method Summary
 AssociationOverride.Owner getOwner()
           
 AssociationOverrideRelationshipReference getRelationshipReference()
           
 void initializeFrom(AssociationOverride oldAssociationOverride)
           
 AssociationOverride setVirtual(boolean virtual)
          If false, add the given override as a specified override and remove it from the list of virtual overrides.
 
Methods inherited from interface org.eclipse.jpt.core.context.BaseOverride
getName, isVirtual, setName
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart
getResource
 

Method Detail

getRelationshipReference

AssociationOverrideRelationshipReference getRelationshipReference()

getOwner

AssociationOverride.Owner getOwner()

setVirtual

AssociationOverride setVirtual(boolean virtual)
Description copied from interface: BaseOverride
If false, add the given override as a specified override and remove it from the list of virtual overrides. If true, then remove it from the specified overrides and add it to the virtual overrides as applicable. Return the new override (whether virtual or specified)

Specified by:
setVirtual in interface BaseOverride

initializeFrom

void initializeFrom(AssociationOverride oldAssociationOverride)