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

All Superinterfaces:
ReadOnlyBaseJoinColumn.Owner, ReadOnlyNamedColumn.Owner
All Known Subinterfaces:
JavaJoinColumn.Owner, JoinColumn.Owner, OrmJoinColumn.Owner
Enclosing interface:
ReadOnlyJoinColumn

public static interface ReadOnlyJoinColumn.Owner
extends ReadOnlyBaseJoinColumn.Owner

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


Method Summary
 java.lang.String getAttributeName()
          return the join column's attribute name
 Entity getRelationshipTarget()
          The target of the relationship will usually be the target entity.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyBaseJoinColumn.Owner
joinColumnIsDefault, joinColumnsSize
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyNamedColumn.Owner
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