|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JoinColumnRelationshipStrategy
Join column relationship strategy.
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.
AssociationOverride,
SpecifiedJoinColumnRelationship| 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 |
DEFAULT_JOIN_COLUMN_PROPERTY
Change notification identifier for "defaultJoinColumn" property |
static String |
SPECIFIED_JOIN_COLUMNS_LIST
Change notification identifier for "specifiedJoinColumns" list |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
JoinColumn |
getDefaultJoinColumn()
Return the default join column. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends JoinColumn> |
getJoinColumns()
Return the join columns whether specified or default. |
int |
getJoinColumnsSize()
Return the number of join columns, whether specified and default. |
TypeMapping |
getRelationshipSource()
The source of the relationship is usually the owning type mapping. |
TypeMapping |
getRelationshipTarget()
The target of the relationship usually is the target entity. |
JoinColumn |
getSpecifiedJoinColumn(int index)
Return the specified join column at the specified index. |
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends JoinColumn> |
getSpecifiedJoinColumns()
Return the specified join columns. |
int |
getSpecifiedJoinColumnsSize()
Return the number of specified join columns. |
boolean |
hasSpecifiedJoinColumns()
Return whether the strategy has any specified join columns. |
boolean |
isTargetForeignKey()
Return whether this relationship is a target foreign key relationship. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipStrategy |
|---|
getRelationship, getTableName |
| 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 SPECIFIED_JOIN_COLUMNS_LIST
static final String DEFAULT_JOIN_COLUMN_PROPERTY
| Method Detail |
|---|
TypeMapping getRelationshipSource()
isTargetForeignKey()TypeMapping getRelationshipTarget()
isTargetForeignKey()boolean isTargetForeignKey()
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends JoinColumn> getJoinColumns()
int getJoinColumnsSize()
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends JoinColumn> getSpecifiedJoinColumns()
int getSpecifiedJoinColumnsSize()
boolean hasSpecifiedJoinColumns()
getSpecifiedJoinColumnsSize() != 0.)
JoinColumn getSpecifiedJoinColumn(int index)
JoinColumn getDefaultJoinColumn()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||