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

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

public interface OrmAttributeOverrideContainer
extends AttributeOverrideContainer, 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 OrmAttributeOverrideContainer.Owner
           
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.AttributeOverrideContainer
SPECIFIED_ATTRIBUTE_OVERRIDES_LIST, VIRTUAL_ATTRIBUTE_OVERRIDES_LIST
 
Method Summary
 java.util.ListIterator<OrmAttributeOverride> attributeOverrides()
          Return a list iterator of the attribute overrides whether specified or default.
 OrmAttributeOverride getAttributeOverrideNamed(java.lang.String name)
          Return the attribute override, whether specified or default, with the given name.
 void initializeFromAttributeOverrideContainer(OrmAttributeOverrideContainer oldContainer)
           
 java.util.ListIterator<OrmAttributeOverride> specifiedAttributeOverrides()
          Return a list iterator of the specified attribute overrides.
 void update()
           
 java.util.ListIterator<OrmAttributeOverride> virtualAttributeOverrides()
          Return a list iterator of the virtual attribute overrides, those not specified.
 
Methods inherited from interface org.eclipse.jpt.core.context.AttributeOverrideContainer
attributeOverridesSize, moveSpecifiedAttributeOverride, specifiedAttributeOverridesSize, virtualAttributeOverridesSize
 
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

attributeOverrides

java.util.ListIterator<OrmAttributeOverride> attributeOverrides()
Description copied from interface: AttributeOverrideContainer
Return a list iterator of the attribute overrides whether specified or default. This will not be null.

Specified by:
attributeOverrides in interface AttributeOverrideContainer

specifiedAttributeOverrides

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

Specified by:
specifiedAttributeOverrides in interface AttributeOverrideContainer

virtualAttributeOverrides

java.util.ListIterator<OrmAttributeOverride> virtualAttributeOverrides()
Description copied from interface: AttributeOverrideContainer
Return a list iterator of the virtual attribute overrides, those not specified. This will not be null.

Specified by:
virtualAttributeOverrides in interface AttributeOverrideContainer

getAttributeOverrideNamed

OrmAttributeOverride getAttributeOverrideNamed(java.lang.String name)
Description copied from interface: AttributeOverrideContainer
Return the attribute override, whether specified or default, with the given name.

Specified by:
getAttributeOverrideNamed in interface AttributeOverrideContainer

update

void update()
Specified by:
update in interface OrmOverrideContainer

initializeFromAttributeOverrideContainer

void initializeFromAttributeOverrideContainer(OrmAttributeOverrideContainer oldContainer)