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

All Superinterfaces:
BaseColumn.Owner, BaseJoinColumn.Owner, NamedColumn.Owner
All Known Subinterfaces:
JavaJoinColumn.Owner, OrmJoinColumn.Owner
Enclosing interface:
JoinColumn

public static interface JoinColumn.Owner
extends BaseJoinColumn.Owner, BaseColumn.Owner

interface allowing join columns to be used in multiple places (e.g. 1:1 mappings and join tables)


Method Summary
 java.lang.String getAttributeName()
          return the join column's attribute name
 RelationshipMapping getRelationshipMapping()
          return the relationship mapping for this join column
 Entity getTargetEntity()
          return the entity referenced by the join column
 int joinColumnsSize()
          return the size of the joinColumns collection this join column is a part of
 boolean tableIsAllowed()
          return whether the join column's table can be specified explicitly
 boolean tableNameIsInvalid(java.lang.String tableName)
          return whether the specified table cannot be explicitly specified in the join column's 'table' element
 
Methods inherited from interface org.eclipse.jpt.core.context.BaseJoinColumn.Owner
getDbReferencedColumnTable, isVirtual
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
getDbTable, getDefaultColumnName, getTypeMapping
 
Methods inherited from interface org.eclipse.jpt.core.context.BaseColumn.Owner
getDefaultTableName
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
getDbTable, getDefaultColumnName, getTypeMapping
 

Method Detail

tableNameIsInvalid

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


tableIsAllowed

boolean tableIsAllowed()
return whether the join column's table can be specified explicitly


getTargetEntity

Entity getTargetEntity()
return the entity referenced by the join column


getAttributeName

java.lang.String getAttributeName()
return the join column's attribute name


getRelationshipMapping

RelationshipMapping getRelationshipMapping()
return the relationship mapping for this join column


joinColumnsSize

int joinColumnsSize()
return the size of the joinColumns collection this join column is a part of