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)
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