Dali Provisional API
Release 3.2

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

All Superinterfaces:
BaseColumn, IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model, NamedColumn, TableColumn
All Known Subinterfaces:
JavaSpecifiedColumn, OrmSpecifiedColumn, SpecifiedColumn, VirtualColumn

public interface Column
extends BaseColumn

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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.TableColumn
TableColumn.ParentAdapter
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static int DEFAULT_LENGTH
           
static String DEFAULT_LENGTH_PROPERTY
           
static int DEFAULT_PRECISION
           
static String DEFAULT_PRECISION_PROPERTY
           
static int DEFAULT_SCALE
           
static String DEFAULT_SCALE_PROPERTY
           
static String SPECIFIED_LENGTH_PROPERTY
           
static String SPECIFIED_PRECISION_PROPERTY
           
static String SPECIFIED_SCALE_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.BaseColumn
DEFAULT_INSERTABLE, DEFAULT_INSERTABLE_PROPERTY, DEFAULT_NULLABLE, DEFAULT_NULLABLE_PROPERTY, DEFAULT_UNIQUE, DEFAULT_UNIQUE_PROPERTY, DEFAULT_UPDATABLE, DEFAULT_UPDATABLE_PROPERTY, SPECIFIED_INSERTABLE_PROPERTY, SPECIFIED_NULLABLE_PROPERTY, SPECIFIED_UNIQUE_PROPERTY, SPECIFIED_UPDATABLE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.TableColumn
DEFAULT_TABLE_NAME_PROPERTY, SPECIFIED_TABLE_NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.NamedColumn
COLUMN_DEFINITION_PROPERTY, DB_TABLE_PROPERTY, DEFAULT_NAME_PROPERTY, SPECIFIED_NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 int getDefaultLength()
           
 int getDefaultPrecision()
           
 int getDefaultScale()
           
 int getLength()
          Return the specified length if present, otherwise return the default length.
 int getPrecision()
          Return the specified precision if present, otherwise return the default precision.
 int getScale()
          Return the specified scale if present, otherwise return the default scale.
 Integer getSpecifiedLength()
           
 Integer getSpecifiedPrecision()
           
 Integer getSpecifiedScale()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.BaseColumn
getSpecifiedInsertable, getSpecifiedNullable, getSpecifiedUnique, getSpecifiedUpdatable, isDefaultInsertable, isDefaultNullable, isDefaultUnique, isDefaultUpdatable, isInsertable, isNullable, isUnique, isUpdatable
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TableColumn
getCandidateTableNames, getDefaultTableName, getSpecifiedTableName, getTableNameValidationTextRange, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.NamedColumn
getColumnDefinition, getDbTable, getDefaultName, getName, getNameValidationTextRange, getSpecifiedName, getTableName, isResolved, isVirtual
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Field Detail

SPECIFIED_LENGTH_PROPERTY

static final String SPECIFIED_LENGTH_PROPERTY
See Also:
Constant Field Values

DEFAULT_LENGTH_PROPERTY

static final String DEFAULT_LENGTH_PROPERTY
See Also:
Constant Field Values

DEFAULT_LENGTH

static final int DEFAULT_LENGTH
See Also:
Constant Field Values

SPECIFIED_PRECISION_PROPERTY

static final String SPECIFIED_PRECISION_PROPERTY
See Also:
Constant Field Values

DEFAULT_PRECISION_PROPERTY

static final String DEFAULT_PRECISION_PROPERTY
See Also:
Constant Field Values

DEFAULT_PRECISION

static final int DEFAULT_PRECISION
See Also:
Constant Field Values

SPECIFIED_SCALE_PROPERTY

static final String SPECIFIED_SCALE_PROPERTY
See Also:
Constant Field Values

DEFAULT_SCALE_PROPERTY

static final String DEFAULT_SCALE_PROPERTY
See Also:
Constant Field Values

DEFAULT_SCALE

static final int DEFAULT_SCALE
See Also:
Constant Field Values
Method Detail

getLength

int getLength()
Return the specified length if present, otherwise return the default length.


getSpecifiedLength

Integer getSpecifiedLength()

getDefaultLength

int getDefaultLength()

getPrecision

int getPrecision()
Return the specified precision if present, otherwise return the default precision.


getSpecifiedPrecision

Integer getSpecifiedPrecision()

getDefaultPrecision

int getDefaultPrecision()

getScale

int getScale()
Return the specified scale if present, otherwise return the default scale.


getSpecifiedScale

Integer getSpecifiedScale()

getDefaultScale

int getDefaultScale()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.