|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RelationshipReference
A RelationshipReference represents the meta-information required
to populate the entities involved in a RelationshipMapping. This
might includes join table information, join column information, and/or
"mappedBy" information, to name a few.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
RelationshipMapping| Field Summary | |
|---|---|
static java.lang.String |
PREDOMINANT_JOINING_STRATEGY_PROPERTY
String associated with changes to the predominant strategy property |
| Method Summary | |
|---|---|
Entity |
getEntity()
Return the entity that owns the relationship mapping. |
JoiningStrategy |
getPredominantJoiningStrategy()
Return the predominant joining strategy, this should not be null |
RelationshipMapping |
getRelationshipMapping()
|
TypeMapping |
getTypeMapping()
Return the TypeMapping that owns this relationship reference |
boolean |
isOverridableAssociation()
Return whether the mapping can be overridden with an association override |
boolean |
isOwnedBy(RelationshipMapping mapping)
Returns whether the given mapping is the owning side of a relationship with this relationship reference |
boolean |
isParentVirtual()
Return whether the parent of this relationship reference is virtual |
boolean |
isRelationshipOwner()
Return whether this is the owning side of the relationship. |
boolean |
isTargetForeignKeyRelationship()
Return whether this relationship is a target foreign key relationship. |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.jpt.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String PREDOMINANT_JOINING_STRATEGY_PROPERTY
| Method Detail |
|---|
RelationshipMapping getRelationshipMapping()
TypeMapping getTypeMapping()
Entity getEntity()
boolean isRelationshipOwner()
RelationshipMapping#isRelationshipOwner()}boolean isOwnedBy(RelationshipMapping mapping)
JoiningStrategy getPredominantJoiningStrategy()
boolean isOverridableAssociation()
boolean isParentVirtual()
boolean isTargetForeignKeyRelationship()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||