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
 PersistentAttribute getPersistentAttribute()
          return the persistent attribute for this join column
 Entity getRelationshipTarget()
          The target of the relationship will usually be the target entity.
 
Methods inherited from interface org.eclipse.jpt.core.context.BaseJoinColumn.Owner
buildUnresolvedReferencedColumnNameMessage, buildUnspecifiedNameMultipleJoinColumnsMessage, buildUnspecifiedReferencedColumnNameMultipleJoinColumnsMessage, getReferencedColumnDbTable, isVirtual, joinColumnsSize
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 
Methods inherited from interface org.eclipse.jpt.core.context.BaseColumn.Owner
buildTableNotValidMessage, candidateTableNames, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.core.context.NamedColumn.Owner
buildUnresolvedNameMessage, getDbTable, getDefaultColumnName, getDefaultTableName, getTypeMapping
 

Method Detail

getRelationshipTarget

Entity getRelationshipTarget()
The target of the relationship will usually be the target entity. In the case of a target foreign key relationship the source and target are swapped.


getAttributeName

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


getPersistentAttribute

PersistentAttribute getPersistentAttribute()
return the persistent attribute for this join column