org.eclipse.jpt.core.context.orm
Interface OrmAssociationOverride

All Superinterfaces:
AssociationOverride, BaseOverride, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, XmlContextNode

public interface OrmAssociationOverride
extends AssociationOverride, XmlContextNode

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
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.core.context.AssociationOverride
AssociationOverride.Owner
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.BaseOverride
NAME_PROPERTY
 
Method Summary
 OrmAssociationOverrideRelationshipReference getRelationshipReference()
           
 OrmAssociationOverride setVirtual(boolean virtual)
          If false, add the given override as a specified override and remove it from the list of virtual overrides.
 void update(XmlAssociationOverride associationOverride)
          Update the OrmAssociationOverride context model object to match the XmlAssociationOverride resource model object.
 
Methods inherited from interface org.eclipse.jpt.core.context.AssociationOverride
getOwner, initializeFrom
 
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
 
Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode
getValidationTextRange, validate
 

Method Detail

getRelationshipReference

OrmAssociationOverrideRelationshipReference getRelationshipReference()
Specified by:
getRelationshipReference in interface AssociationOverride

setVirtual

OrmAssociationOverride 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 AssociationOverride
Specified by:
setVirtual in interface BaseOverride

update

void update(XmlAssociationOverride associationOverride)
Update the OrmAssociationOverride context model object to match the XmlAssociationOverride resource model object. see JpaProject.update()