Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context
Interface NamedColumn.ParentAdapter

All Known Subinterfaces:
BaseJoinColumn.ParentAdapter, BasicMapping, ColumnMapping, EclipseLinkArrayMapping2_3, EclipseLinkBasicMapping, EclipseLinkIdMapping, EclipseLinkIdMapping2_0, EclipseLinkTenantDiscriminatorColumn2_3.ParentAdapter, EclipseLinkVersionMapping, IdMapping, IdMapping2_0, JavaBasicMapping, JavaColumnMapping, JavaIdMapping, JavaSpecifiedColumn.ParentAdapter, JavaSpecifiedDiscriminatorColumn.ParentAdapter, JavaSpecifiedOrderColumn2_0.ParentAdapter, JavaVersionMapping, JoinColumn.ParentAdapter, NamedDiscriminatorColumn.ParentAdapter, OrmBasicMapping, OrmColumnMapping, OrmIdMapping, OrmSpecifiedColumn.ParentAdapter, OrmSpecifiedDiscriminatorColumn.ParentAdapter, OrmSpecifiedOrderColumn2_0.ParentAdapter, OrmVersionMapping, TableColumn.ParentAdapter, VersionMapping, VirtualColumn.ParentAdapter
Enclosing interface:
NamedColumn

public static interface NamedColumn.ParentAdapter

Interface allowing columns to be used in multiple places (e.g. basic mappings and attribute overrides).


Method Summary
 org.eclipse.jpt.jpa.core.internal.context.JpaValidator buildColumnValidator(NamedColumn column)
           
 JpaContextModel getColumnParent()
           
 String getDefaultColumnName(NamedColumn column)
          Return the default column name.
 String getDefaultTableName()
          Return the name of the table which the column belongs to by default.
 TextRange getValidationTextRange()
          Return the column parent's text range.
 Table resolveDbTable(String tableName)
          Return the database table for the specified table name.
 

Method Detail

getColumnParent

JpaContextModel getColumnParent()

getDefaultTableName

String getDefaultTableName()
Return the name of the table which the column belongs to by default.


getDefaultColumnName

String getDefaultColumnName(NamedColumn column)
Return the default column name.


resolveDbTable

Table resolveDbTable(String tableName)
Return the database table for the specified table name.


buildColumnValidator

org.eclipse.jpt.jpa.core.internal.context.JpaValidator buildColumnValidator(NamedColumn column)

getValidationTextRange

TextRange getValidationTextRange()
Return the column parent's text range. This can be returned by the column when its annotation is not present.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.