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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, ReadOnlyBaseColumn, ReadOnlyNamedColumn
All Known Subinterfaces:
Column, JavaColumn, JavaVirtualColumn, OrmColumn, OrmVirtualColumn, VirtualColumn

public interface ReadOnlyColumn
extends ReadOnlyBaseColumn

Read-only 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.ReadOnlyNamedColumn
ReadOnlyNamedColumn.Owner
 
Field Summary
static int DEFAULT_LENGTH
           
static java.lang.String DEFAULT_LENGTH_PROPERTY
           
static int DEFAULT_PRECISION
           
static java.lang.String DEFAULT_PRECISION_PROPERTY
           
static int DEFAULT_SCALE
           
static java.lang.String DEFAULT_SCALE_PROPERTY
           
static java.lang.String SPECIFIED_LENGTH_PROPERTY
           
static java.lang.String SPECIFIED_PRECISION_PROPERTY
           
static java.lang.String SPECIFIED_SCALE_PROPERTY
           
 
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
 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.
 java.lang.Integer getSpecifiedLength()
           
 java.lang.Integer getSpecifiedPrecision()
           
 java.lang.Integer getSpecifiedScale()
           
 
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
 

Field Detail

SPECIFIED_LENGTH_PROPERTY

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

DEFAULT_LENGTH_PROPERTY

static final java.lang.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 java.lang.String SPECIFIED_PRECISION_PROPERTY
See Also:
Constant Field Values

DEFAULT_PRECISION_PROPERTY

static final java.lang.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 java.lang.String SPECIFIED_SCALE_PROPERTY
See Also:
Constant Field Values

DEFAULT_SCALE_PROPERTY

static final java.lang.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

java.lang.Integer getSpecifiedLength()

getDefaultLength

int getDefaultLength()

getPrecision

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


getSpecifiedPrecision

java.lang.Integer getSpecifiedPrecision()

getDefaultPrecision

int getDefaultPrecision()

getScale

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


getSpecifiedScale

java.lang.Integer getSpecifiedScale()

getDefaultScale

int getDefaultScale()