org.eclipse.jpt.core.context.java
Interface JavaAttributeOverride

All Superinterfaces:
AttributeOverride, BaseColumn.Owner, BaseOverride, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaBaseColumn.Owner, JavaJpaContextNode, JavaNamedColumn.Owner, JavaOverride, JpaContextNode, JpaNode, Model, NamedColumn.Owner

public interface JavaAttributeOverride
extends AttributeOverride, JavaOverride, JavaBaseColumn.Owner

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 JavaAttributeOverride.Owner
           
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.BaseOverride
NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.BaseOverride
NAME_PROPERTY
 
Method Summary
 JavaColumn getColumn()
           
 AttributeOverrideAnnotation getOverrideAnnotation()
           
 void initialize(AttributeOverrideAnnotation attributeOverride)
           
 JavaAttributeOverride setVirtual(boolean virtual)
          If false, add the given override as a specified override and remove it from the list of virtual overrides.
 void update(AttributeOverrideAnnotation attributeOverride)
          Update the JavaAttributeOverride context model object to match the AttributeOverrideAnnotation 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.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.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, 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
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaNamedColumn.Owner
getValidationTextRange
 
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.BaseColumn.Owner
buildTableNotValidMessage, candidateTableNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 

Method Detail

getColumn

JavaColumn getColumn()
Specified by:
getColumn in interface AttributeOverride

setVirtual

JavaAttributeOverride 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

getOverrideAnnotation

AttributeOverrideAnnotation getOverrideAnnotation()
Specified by:
getOverrideAnnotation in interface JavaOverride

initialize

void initialize(AttributeOverrideAnnotation attributeOverride)

update

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