|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReadOnlyRelationship
A relationship contains the settings describing how entities are related
in a RelationshipMapping or AssociationOverride:
RelationshipMapping,
AssociationOverride| Field Summary | |
|---|---|
static java.lang.String |
STRATEGY_PROPERTY
String associated with changes to the predominant strategy property |
| Method Summary | |
|---|---|
Entity |
getEntity()
Return the entity that contains the relationship's mapping or override. |
RelationshipMapping |
getMapping()
Return the relationship's mapping; which for a mapping relationship is the relationship's parent, but in the case of an override is the overridden mapping (from a superclass or embeddable type). |
ReadOnlyRelationshipStrategy |
getStrategy()
Return the current strategy, this is never null. |
TypeMapping |
getTypeMapping()
Return the type mapping that contains the relationship's mapping or override. |
void |
initializeOn(Relationship newRelationship)
|
boolean |
isVirtual()
Return whether the the relationship is virtual. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
getJpaProject, getParent, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.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.common.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String STRATEGY_PROPERTY
| Method Detail |
|---|
RelationshipMapping getMapping()
TypeMapping getTypeMapping()
Entity getEntity()
getTypeMapping()
and returns null if the result is not an Entity.
ReadOnlyRelationshipStrategy getStrategy()
null.
boolean isVirtual()
void initializeOn(Relationship newRelationship)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||