org.eclipse.jpt.core.context
Interface BaseColumn

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

public interface BaseColumn
extends NamedColumn

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 BaseColumn.Owner
          interface allowing columns to be used in multiple places (e.g.
 
Field Summary
static boolean DEFAULT_INSERTABLE
           
static java.lang.String DEFAULT_INSERTABLE_PROPERTY
           
static boolean DEFAULT_NULLABLE
           
static java.lang.String DEFAULT_NULLABLE_PROPERTY
           
static java.lang.String DEFAULT_TABLE_PROPERTY
           
static boolean DEFAULT_UNIQUE
           
static java.lang.String DEFAULT_UNIQUE_PROPERTY
           
static boolean DEFAULT_UPDATABLE
           
static java.lang.String DEFAULT_UPDATABLE_PROPERTY
           
static java.lang.String SPECIFIED_INSERTABLE_PROPERTY
           
static java.lang.String SPECIFIED_NULLABLE_PROPERTY
           
static java.lang.String SPECIFIED_TABLE_PROPERTY
           
static java.lang.String SPECIFIED_UNIQUE_PROPERTY
           
static java.lang.String SPECIFIED_UPDATABLE_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.core.context.NamedColumn
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
 java.lang.String getDefaultTable()
           
 java.lang.Boolean getSpecifiedInsertable()
           
 java.lang.Boolean getSpecifiedNullable()
           
 java.lang.String getSpecifiedTable()
           
 java.lang.Boolean getSpecifiedUnique()
           
 java.lang.Boolean getSpecifiedUpdatable()
           
 boolean isDefaultInsertable()
           
 boolean isDefaultNullable()
           
 boolean isDefaultUnique()
           
 boolean isDefaultUpdatable()
           
 boolean isInsertable()
           
 boolean isNullable()
           
 boolean isUnique()
           
 boolean isUpdatable()
           
 void setSpecifiedInsertable(java.lang.Boolean newSpecifiedInsertable)
           
 void setSpecifiedNullable(java.lang.Boolean newSpecifiedNullable)
           
 void setSpecifiedTable(java.lang.String value)
           
 void setSpecifiedUnique(java.lang.Boolean newSpecifiedUnique)
           
 void setSpecifiedUpdatable(java.lang.Boolean newSpecifiedUpdatable)
           
 boolean tableNameIsInvalid()
          return whether the column's table is invalid in the given context
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn
getColumnDefinition, getDbColumn, getDbTable, getDefaultName, getName, getSpecifiedName, getTable, isResolved, setColumnDefinition, setSpecifiedName
 
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
 

Field Detail

DEFAULT_TABLE_PROPERTY

static final java.lang.String DEFAULT_TABLE_PROPERTY
See Also:
Constant Field Values

SPECIFIED_TABLE_PROPERTY

static final java.lang.String SPECIFIED_TABLE_PROPERTY
See Also:
Constant Field Values

DEFAULT_UNIQUE_PROPERTY

static final java.lang.String DEFAULT_UNIQUE_PROPERTY
See Also:
Constant Field Values

DEFAULT_UNIQUE

static final boolean DEFAULT_UNIQUE
See Also:
Constant Field Values

SPECIFIED_UNIQUE_PROPERTY

static final java.lang.String SPECIFIED_UNIQUE_PROPERTY
See Also:
Constant Field Values

DEFAULT_NULLABLE_PROPERTY

static final java.lang.String DEFAULT_NULLABLE_PROPERTY
See Also:
Constant Field Values

DEFAULT_NULLABLE

static final boolean DEFAULT_NULLABLE
See Also:
Constant Field Values

SPECIFIED_NULLABLE_PROPERTY

static final java.lang.String SPECIFIED_NULLABLE_PROPERTY
See Also:
Constant Field Values

DEFAULT_INSERTABLE_PROPERTY

static final java.lang.String DEFAULT_INSERTABLE_PROPERTY
See Also:
Constant Field Values

DEFAULT_INSERTABLE

static final boolean DEFAULT_INSERTABLE
See Also:
Constant Field Values

SPECIFIED_INSERTABLE_PROPERTY

static final java.lang.String SPECIFIED_INSERTABLE_PROPERTY
See Also:
Constant Field Values

DEFAULT_UPDATABLE_PROPERTY

static final java.lang.String DEFAULT_UPDATABLE_PROPERTY
See Also:
Constant Field Values

DEFAULT_UPDATABLE

static final boolean DEFAULT_UPDATABLE
See Also:
Constant Field Values

SPECIFIED_UPDATABLE_PROPERTY

static final java.lang.String SPECIFIED_UPDATABLE_PROPERTY
See Also:
Constant Field Values
Method Detail

getDefaultTable

java.lang.String getDefaultTable()

getSpecifiedTable

java.lang.String getSpecifiedTable()

setSpecifiedTable

void setSpecifiedTable(java.lang.String value)

isUnique

boolean isUnique()

isDefaultUnique

boolean isDefaultUnique()

getSpecifiedUnique

java.lang.Boolean getSpecifiedUnique()

setSpecifiedUnique

void setSpecifiedUnique(java.lang.Boolean newSpecifiedUnique)

isNullable

boolean isNullable()

isDefaultNullable

boolean isDefaultNullable()

getSpecifiedNullable

java.lang.Boolean getSpecifiedNullable()

setSpecifiedNullable

void setSpecifiedNullable(java.lang.Boolean newSpecifiedNullable)

isInsertable

boolean isInsertable()

isDefaultInsertable

boolean isDefaultInsertable()

getSpecifiedInsertable

java.lang.Boolean getSpecifiedInsertable()

setSpecifiedInsertable

void setSpecifiedInsertable(java.lang.Boolean newSpecifiedInsertable)

isUpdatable

boolean isUpdatable()

isDefaultUpdatable

boolean isDefaultUpdatable()

getSpecifiedUpdatable

java.lang.Boolean getSpecifiedUpdatable()

setSpecifiedUpdatable

void setSpecifiedUpdatable(java.lang.Boolean newSpecifiedUpdatable)

tableNameIsInvalid

boolean tableNameIsInvalid()
return whether the column's table is invalid in the given context


candidateTableNames

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