Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, ReadOnlyNamedColumn
All Known Subinterfaces:
BaseColumn, Column, JavaBaseColumn, JavaColumn, JavaJoinColumn, JavaTenantDiscriminatorColumn2_3, JoinColumn, OrmBaseColumn, OrmColumn, OrmJoinColumn, OrmTenantDiscriminatorColumn2_3, ReadOnlyBaseColumn, ReadOnlyColumn, ReadOnlyJoinColumn, ReadOnlyTenantDiscriminatorColumn2_3, TableColumn, TenantDiscriminatorColumn2_3, VirtualBaseColumn, VirtualColumn, VirtualJoinColumn, VirtualTableColumn, VirtualTenantDiscriminatorColumn2_3

public interface ReadOnlyTableColumn
extends ReadOnlyNamedColumn

Read-only

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
static interface ReadOnlyTableColumn.Owner
          Interface allowing columns to be used in multiple places (e.g. basic mappings and attribute overrides).
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String DEFAULT_TABLE_NAME_PROPERTY
           
static String SPECIFIED_TABLE_NAME_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn
COLUMN_DEFINITION_PROPERTY, DB_TABLE_PROPERTY, DEFAULT_NAME_PROPERTY, SPECIFIED_NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 Iterable<String> getCandidateTableNames()
          Return a list of table names that are valid for this column
 String getDefaultTableName()
           
 String getSpecifiedTableName()
           
 TextRange getTableNameValidationTextRange()
          Return the (best guess) text location of the column's table name.
 boolean tableNameIsInvalid()
          Return whether the column's table name is invalid.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn
getColumnDefinition, getDbTable, getDefaultName, getName, getNameValidationTextRange, getSpecifiedName, getTableName, isResolved, isVirtual
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
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_TABLE_NAME_PROPERTY

static final String SPECIFIED_TABLE_NAME_PROPERTY
See Also:
Constant Field Values

DEFAULT_TABLE_NAME_PROPERTY

static final String DEFAULT_TABLE_NAME_PROPERTY
See Also:
Constant Field Values
Method Detail

getSpecifiedTableName

String getSpecifiedTableName()

getDefaultTableName

String getDefaultTableName()

getTableNameValidationTextRange

TextRange getTableNameValidationTextRange()
Return the (best guess) text location of the column's table name.


tableNameIsInvalid

boolean tableNameIsInvalid()
Return whether the column's table name is invalid.


getCandidateTableNames

Iterable<String> getCandidateTableNames()
Return a list of table names that are valid for this column


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.