Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model
All Known Subinterfaces:
BaseColumn, BaseJoinColumn, Column, DiscriminatorColumn, JavaBaseColumn, JavaBaseJoinColumn, JavaColumn, JavaDiscriminatorColumn, JavaJoinColumn, JavaNamedColumn, JavaOrderColumn2_0, JavaPrimaryKeyJoinColumn, JavaTenantDiscriminatorColumn2_3, JoinColumn, NamedColumn, NamedDiscriminatorColumn, OrderColumn2_0, OrmBaseColumn, OrmBaseJoinColumn, OrmColumn, OrmDiscriminatorColumn, OrmJoinColumn, OrmNamedColumn, OrmOrderColumn2_0, OrmPrimaryKeyJoinColumn, OrmTenantDiscriminatorColumn2_3, OrmVirtualPrimaryKeyJoinColumn, PrimaryKeyJoinColumn, ReadOnlyBaseColumn, ReadOnlyBaseJoinColumn, ReadOnlyColumn, ReadOnlyJoinColumn, ReadOnlyNamedDiscriminatorColumn, ReadOnlyPrimaryKeyJoinColumn, ReadOnlyTableColumn, ReadOnlyTenantDiscriminatorColumn2_3, TableColumn, TenantDiscriminatorColumn2_3, VirtualBaseColumn, VirtualBaseJoinColumn, VirtualColumn, VirtualJoinColumn, VirtualNamedColumn, VirtualNamedDiscriminatorColumn, VirtualPrimaryKeyJoinColumn, VirtualTableColumn, VirtualTenantDiscriminatorColumn2_3

public interface ReadOnlyNamedColumn
extends JpaContextNode

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 ReadOnlyNamedColumn.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 COLUMN_DEFINITION_PROPERTY
           
static String DB_TABLE_PROPERTY
           
static String DEFAULT_NAME_PROPERTY
           
static String SPECIFIED_NAME_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 String getColumnDefinition()
           
 Table getDbTable()
          Return the column's datasource table.
 String getDefaultName()
           
 String getName()
          Return the specified name if present, otherwise return the default name.
 TextRange getNameValidationTextRange()
          Return the (best guess) text location of the column's name.
 String getSpecifiedName()
           
 String getTableName()
          Return the name of the column's table.
 boolean isResolved()
          Return whether the column is found on the datasource.
 boolean isVirtual()
          Return whether the column has a textual representation in its underlying resource.
 
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_NAME_PROPERTY

static final String SPECIFIED_NAME_PROPERTY
See Also:
Constant Field Values

DEFAULT_NAME_PROPERTY

static final String DEFAULT_NAME_PROPERTY
See Also:
Constant Field Values

COLUMN_DEFINITION_PROPERTY

static final String COLUMN_DEFINITION_PROPERTY
See Also:
Constant Field Values

DB_TABLE_PROPERTY

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

getName

String getName()
Return the specified name if present, otherwise return the default name.


getSpecifiedName

String getSpecifiedName()

getDefaultName

String getDefaultName()

getNameValidationTextRange

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


getTableName

String getTableName()
Return the name of the column's table. A column that does not have a specified table still has a table (as determined by the column's owner).


getColumnDefinition

String getColumnDefinition()

getDbTable

Table getDbTable()
Return the column's datasource table.


isResolved

boolean isResolved()
Return whether the column is found on the datasource.


isVirtual

boolean isVirtual()
Return whether the column has a textual representation in its underlying resource.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.