org.eclipse.jpt.core.context
Interface BaseColumn.Owner

All Superinterfaces:
NamedColumn.Owner
All Known Subinterfaces:
AttributeOverride, AttributeOverride2_0, BasicMapping, ColumnMapping, EclipseLinkBasicMapping, EclipseLinkIdMapping, EclipseLinkVersionMapping, IdMapping, IdMapping2_0, JavaAttributeOverride, JavaBaseColumn.Owner, JavaBasicMapping, JavaColumnMapping, JavaIdMapping, JavaJoinColumn.Owner, JavaVersionMapping, JoinColumn.Owner, OrmAttributeOverride, OrmBaseColumn.Owner, OrmBasicMapping, OrmColumn.Owner, OrmColumnMapping, OrmIdMapping, OrmJoinColumn.Owner, OrmVersionMapping, VersionMapping
Enclosing interface:
BaseColumn

public static interface BaseColumn.Owner
extends NamedColumn.Owner

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


Method Summary
 org.eclipse.wst.validation.internal.provisional.core.IMessage buildTableNotValidMessage(BaseColumn column, TextRange textRange)
          Return a validation message for when the specified table is not valid in this context.
 java.util.Iterator<java.lang.String> candidateTableNames()
          Return a list of table names that are valid for this column
 boolean tableNameIsInvalid(java.lang.String tableName)
          return whether the given table cannot be explicitly specified in the column's 'table' element
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 

Method Detail

tableNameIsInvalid

boolean tableNameIsInvalid(java.lang.String tableName)
return whether the given table cannot be explicitly specified in the column's 'table' element


candidateTableNames

java.util.Iterator<java.lang.String> candidateTableNames()
Return a list of table names that are valid for this column


buildTableNotValidMessage

org.eclipse.wst.validation.internal.provisional.core.IMessage buildTableNotValidMessage(BaseColumn column,
                                                                                        TextRange textRange)
Return a validation message for when the specified table is not valid in this context. An example is a basic mapping column where a table is specified that is not included as table or secondary tables of the owning entity.