|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReadOnlyJoinColumnRelationshipStrategy
Read-only 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.
ReadOnlyAssociationOverride,
JoinColumnRelationship| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_JOIN_COLUMN_PROPERTY
Change notification identifier for "defaultJoinColumn" property |
static java.lang.String |
SPECIFIED_JOIN_COLUMNS_LIST
Change notification identifier for "specifiedJoinColumns" list |
| Method Summary | |
|---|---|
ReadOnlyJoinColumn |
getDefaultJoinColumn()
Return the default join column. |
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. |
ReadOnlyJoinColumn |
getSpecifiedJoinColumn(int index)
Return the specified join column at the specified index. |
boolean |
hasSpecifiedJoinColumns()
Return whether the strategy has any specified join columns. |
boolean |
isTargetForeignKey()
Return whether this relationship is a target foreign key relationship. |
java.util.ListIterator<? extends ReadOnlyJoinColumn> |
joinColumns()
Return the join columns whether specified or default. |
int |
joinColumnsSize()
Return the number of join columns, whether specified and default. |
java.util.ListIterator<? extends ReadOnlyJoinColumn> |
specifiedJoinColumns()
Return the specified join columns. |
int |
specifiedJoinColumnsSize()
Return the number of specified join columns. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyRelationshipStrategy |
|---|
getRelationship, getTableName |
| 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 SPECIFIED_JOIN_COLUMNS_LIST
static final java.lang.String DEFAULT_JOIN_COLUMN_PROPERTY
| Method Detail |
|---|
TypeMapping getRelationshipSource()
isTargetForeignKey()TypeMapping getRelationshipTarget()
isTargetForeignKey()boolean isTargetForeignKey()
java.util.ListIterator<? extends ReadOnlyJoinColumn> joinColumns()
int joinColumnsSize()
java.util.ListIterator<? extends ReadOnlyJoinColumn> specifiedJoinColumns()
int specifiedJoinColumnsSize()
boolean hasSpecifiedJoinColumns()
specifiedJoinColumnsSize() != 0.)
ReadOnlyJoinColumn getSpecifiedJoinColumn(int index)
ReadOnlyJoinColumn getDefaultJoinColumn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||