Dali Provisional API
Release 3.2

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

All Known Subinterfaces:
BasicMapping, ColumnMapping, EclipseLinkArrayMapping2_3, EclipseLinkBasicMapping, EclipseLinkIdMapping, EclipseLinkIdMapping2_0, EclipseLinkVersionMapping, IdMapping, IdMapping2_0, JavaBasicMapping, JavaColumn.Owner, JavaColumnMapping, JavaIdMapping, JavaVersionMapping, OrmBasicMapping, OrmColumn.Owner, OrmColumnMapping, OrmDiscriminatorColumn.Owner, OrmIdMapping, OrmOrderColumn2_0.Owner, OrmVersionMapping, ReadOnlyBaseJoinColumn.Owner, ReadOnlyJoinColumn.Owner, ReadOnlyNamedDiscriminatorColumn.Owner, ReadOnlyTableColumn.Owner, ReadOnlyTenantDiscriminatorColumn2_3.Owner, VersionMapping, VirtualColumn.Owner, VirtualTenantDiscriminatorColumn2_3.Owner
Enclosing interface:
ReadOnlyNamedColumn

public static interface ReadOnlyNamedColumn.Owner

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.JptValidator buildColumnValidator(ReadOnlyNamedColumn column)
           
 String getDefaultColumnName(ReadOnlyNamedColumn 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 owner's text range.
 Table resolveDbTable(String tableName)
          Return the database table for the specified table name.
 

Method Detail

getDefaultTableName

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


getDefaultColumnName

String getDefaultColumnName(ReadOnlyNamedColumn 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.JptValidator buildColumnValidator(ReadOnlyNamedColumn column)

getValidationTextRange

TextRange getValidationTextRange()
Return the column owner'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.