Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context
Interface PrimaryKeyJoinColumnRelationshipStrategy

All Superinterfaces:
IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, ReadOnlyRelationshipStrategy, RelationshipStrategy
All Known Subinterfaces:
JavaPrimaryKeyJoinColumnRelationshipStrategy, OrmPrimaryKeyJoinColumnRelationshipStrategy

public interface PrimaryKeyJoinColumnRelationshipStrategy
extends RelationshipStrategy

Primary key 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.

Since:
2.2
See Also:
RelationshipMapping, PrimaryKeyJoinColumnRelationship

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String PRIMARY_KEY_JOIN_COLUMNS_LIST
          Change notification identifier for "primaryKeyJoinColumns" list
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 PrimaryKeyJoinColumn addPrimaryKeyJoinColumn()
          Add a primary key join column.
 PrimaryKeyJoinColumn addPrimaryKeyJoinColumn(int index)
          Add a primary key join column.
 PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int index)
          Return the primary key join column at the specified index.
 org.eclipse.jpt.common.utility.iterable.ListIterable<? extends PrimaryKeyJoinColumn> getPrimaryKeyJoinColumns()
          Return the strategy's primary key join columns.
 int getPrimaryKeyJoinColumnsSize()
          Return the number of primary key join columns.
 boolean hasPrimaryKeyJoinColumns()
          Return whether the relationship has any primary key join columns.
 void movePrimaryKeyJoinColumn(int targetIndex, int sourceIndex)
          Remove the specified primary key join column.
 void removePrimaryKeyJoinColumn(int index)
          Remove the specified primary key join column.
 void removePrimaryKeyJoinColumn(PrimaryKeyJoinColumn primaryKeyJoinColumn)
          Remove the specified primary key join column.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipStrategy
addStrategy, getColumnTableNotValidDescription, getRelationship, isOverridable, removeStrategy, resolveDbTable, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyRelationshipStrategy
getTableName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
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

PRIMARY_KEY_JOIN_COLUMNS_LIST

static final String PRIMARY_KEY_JOIN_COLUMNS_LIST
Change notification identifier for "primaryKeyJoinColumns" list

See Also:
Constant Field Values
Method Detail

getPrimaryKeyJoinColumns

org.eclipse.jpt.common.utility.iterable.ListIterable<? extends PrimaryKeyJoinColumn> getPrimaryKeyJoinColumns()
Return the strategy's primary key join columns.


getPrimaryKeyJoinColumnsSize

int getPrimaryKeyJoinColumnsSize()
Return the number of primary key join columns.


hasPrimaryKeyJoinColumns

boolean hasPrimaryKeyJoinColumns()
Return whether the relationship has any primary key join columns. (Equivalent to getPrimaryKeyJoinColumnsSize() == 0.)


getPrimaryKeyJoinColumn

PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int index)
Return the primary key join column at the specified index.


addPrimaryKeyJoinColumn

PrimaryKeyJoinColumn addPrimaryKeyJoinColumn()
Add a primary key join column.


addPrimaryKeyJoinColumn

PrimaryKeyJoinColumn addPrimaryKeyJoinColumn(int index)
Add a primary key join column.


removePrimaryKeyJoinColumn

void removePrimaryKeyJoinColumn(int index)
Remove the specified primary key join column.


removePrimaryKeyJoinColumn

void removePrimaryKeyJoinColumn(PrimaryKeyJoinColumn primaryKeyJoinColumn)
Remove the specified primary key join column.


movePrimaryKeyJoinColumn

void movePrimaryKeyJoinColumn(int targetIndex,
                              int sourceIndex)
Remove the specified primary key join column.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.