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

All Superinterfaces:
AssociationOverrideContainer, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, OrmOverrideContainer, OverrideContainer, XmlContextNode

public interface OrmAssociationOverrideContainer
extends AssociationOverrideContainer, OrmOverrideContainer

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
static interface OrmAssociationOverrideContainer.Owner
           
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.AssociationOverrideContainer
SPECIFIED_ASSOCIATION_OVERRIDES_LIST, VIRTUAL_ASSOCIATION_OVERRIDES_LIST
 
Method Summary
 java.util.ListIterator<OrmAssociationOverride> associationOverrides()
          Return a list iterator of the association overrides whether specified or default.
 OrmAssociationOverride getAssociationOverrideNamed(java.lang.String name)
          Return the association override, whether specified or default, with the given name.
 java.util.ListIterator<OrmAssociationOverride> specifiedAssociationOverrides()
          Return a list iterator of the specified association overrides.
 void update()
           
 java.util.ListIterator<OrmAssociationOverride> virtualAssociationOverrides()
          Return the number of default association overrides.
 
Methods inherited from interface org.eclipse.jpt.core.context.AssociationOverrideContainer
associationOverridesSize, moveSpecifiedAssociationOverride, specifiedAssociationOverridesSize, virtualAssociationOverridesSize
 
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.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
 
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

associationOverrides

java.util.ListIterator<OrmAssociationOverride> associationOverrides()
Description copied from interface: AssociationOverrideContainer
Return a list iterator of the association overrides whether specified or default. This will not be null.

Specified by:
associationOverrides in interface AssociationOverrideContainer

specifiedAssociationOverrides

java.util.ListIterator<OrmAssociationOverride> specifiedAssociationOverrides()
Description copied from interface: AssociationOverrideContainer
Return a list iterator of the specified association overrides. This will not be null. No add/remove for specified association overrides, the virtual association overrides will be populated from superclasses, then use AssociationOverride.setVirtual(boolean) to add/remove the association override from the source

Specified by:
specifiedAssociationOverrides in interface AssociationOverrideContainer

virtualAssociationOverrides

java.util.ListIterator<OrmAssociationOverride> virtualAssociationOverrides()
Description copied from interface: AssociationOverrideContainer
Return the number of default association overrides.

Specified by:
virtualAssociationOverrides in interface AssociationOverrideContainer

getAssociationOverrideNamed

OrmAssociationOverride getAssociationOverrideNamed(java.lang.String name)
Description copied from interface: AssociationOverrideContainer
Return the association override, whether specified or default, with the given name.

Specified by:
getAssociationOverrideNamed in interface AssociationOverrideContainer

update

void update()
Specified by:
update in interface OrmOverrideContainer