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

All Superinterfaces:
AttributeOverride, BaseColumn.Owner, BaseOverride, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, NamedColumn.Owner, XmlContextNode

public interface OrmAttributeOverride
extends AttributeOverride, 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.AttributeOverride
AttributeOverride.Owner
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.BaseOverride
NAME_PROPERTY
 
Method Summary
 OrmColumn getColumn()
           
 OrmAttributeOverride setVirtual(boolean virtual)
          If false, add the given override as a specified override and remove it from the list of virtual overrides.
 void update(XmlAttributeOverride attributeOverride)
          Update the OrmAttributeOverride context model object to match the XmlAttributeOverride resource model object.
 
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.BaseColumn.Owner
buildTableNotValidMessage, candidateTableNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 
Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode
getValidationTextRange, validate
 

Method Detail

getColumn

OrmColumn getColumn()
Specified by:
getColumn in interface AttributeOverride

setVirtual

OrmAttributeOverride 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 AttributeOverride
Specified by:
setVirtual in interface BaseOverride

update

void update(XmlAttributeOverride attributeOverride)
Update the OrmAttributeOverride context model object to match the XmlAttributeOverride resource model object. see JpaProject.update()