org.eclipse.jpt.jpa.core.context
Interface BaseColumn

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, NamedColumn, ReadOnlyBaseColumn, ReadOnlyNamedColumn
All Known Subinterfaces:
Column, JavaBaseColumn, JavaColumn, JavaJoinColumn, JoinColumn, OrmBaseColumn, OrmColumn, OrmJoinColumn

public interface BaseColumn
extends NamedColumn, ReadOnlyBaseColumn

column or join column

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:
3.0

Nested Class Summary
static interface BaseColumn.Owner
          Interface allowing columns to be used in multiple places (e.g.
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyBaseColumn
DEFAULT_INSERTABLE, DEFAULT_INSERTABLE_PROPERTY, DEFAULT_NULLABLE, DEFAULT_NULLABLE_PROPERTY, DEFAULT_TABLE_PROPERTY, DEFAULT_UNIQUE, DEFAULT_UNIQUE_PROPERTY, DEFAULT_UPDATABLE, DEFAULT_UPDATABLE_PROPERTY, SPECIFIED_INSERTABLE_PROPERTY, SPECIFIED_NULLABLE_PROPERTY, SPECIFIED_TABLE_PROPERTY, SPECIFIED_UNIQUE_PROPERTY, SPECIFIED_UPDATABLE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn
COLUMN_DEFINITION_PROPERTY, DEFAULT_NAME_PROPERTY, SPECIFIED_NAME_PROPERTY
 
Method Summary
 java.util.Iterator<java.lang.String> candidateTableNames()
          Return a list of table names that are valid for this column
 void setSpecifiedInsertable(java.lang.Boolean insertable)
           
 void setSpecifiedNullable(java.lang.Boolean nullable)
           
 void setSpecifiedTable(java.lang.String table)
           
 void setSpecifiedUnique(java.lang.Boolean unique)
           
 void setSpecifiedUpdatable(java.lang.Boolean updatable)
           
 boolean tableNameIsInvalid()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.NamedColumn
getDbTable, isResolved, setColumnDefinition, setSpecifiedName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyBaseColumn
getDefaultTable, getSpecifiedInsertable, getSpecifiedNullable, getSpecifiedTable, getSpecifiedUnique, getSpecifiedUpdatable, isDefaultInsertable, isDefaultNullable, isDefaultUnique, isDefaultUpdatable, isInsertable, isNullable, isUnique, isUpdatable
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn
getColumnDefinition, getDefaultName, getName, getSpecifiedName, getTable
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.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.common.core.IResourcePart
getResource
 

Method Detail

setSpecifiedTable

void setSpecifiedTable(java.lang.String table)

setSpecifiedUnique

void setSpecifiedUnique(java.lang.Boolean unique)

setSpecifiedNullable

void setSpecifiedNullable(java.lang.Boolean nullable)

setSpecifiedInsertable

void setSpecifiedInsertable(java.lang.Boolean insertable)

setSpecifiedUpdatable

void setSpecifiedUpdatable(java.lang.Boolean updatable)

tableNameIsInvalid

boolean tableNameIsInvalid()

candidateTableNames

java.util.Iterator<java.lang.String> candidateTableNames()
Return a list of table names that are valid for this column