|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface Relationship
A relationship contains the settings describing how entities are related
in a RelationshipMapping or SpecifiedAssociationOverride:
RelationshipMapping,
SpecifiedAssociationOverride| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
STRATEGY_PROPERTY
String associated with changes to the predominant strategy property |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| 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). |
RelationshipStrategy |
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(SpecifiedRelationship newRelationship)
|
boolean |
isVirtual()
Return whether the the relationship is virtual. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Field Detail |
|---|
static final String STRATEGY_PROPERTY
| Method Detail |
|---|
RelationshipMapping getMapping()
TypeMapping getTypeMapping()
Entity getEntity()
getTypeMapping()
and returns null if the result is not an Entity.
RelationshipStrategy getStrategy()
null.
boolean isVirtual()
void initializeOn(SpecifiedRelationship newRelationship)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||