|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReferenceTable
Common interface for JoinTable and CollectionTable 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.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_JOIN_COLUMN
|
static java.lang.String |
SPECIFIED_JOIN_COLUMNS_LIST
|
| Fields inherited from interface org.eclipse.jpt.core.context.Table |
|---|
DEFAULT_CATALOG_PROPERTY, DEFAULT_NAME_PROPERTY, DEFAULT_SCHEMA_PROPERTY, SPECIFIED_CATALOG_PROPERTY, SPECIFIED_NAME_PROPERTY, SPECIFIED_SCHEMA_PROPERTY, UNIQUE_CONSTRAINTS_LIST |
| Method Summary | ||
|---|---|---|
JoinColumn |
addSpecifiedJoinColumn(int index)
Add a specified join column to the join table. |
|
void |
clearSpecifiedJoinColumns()
Remove all the join table's join columns. |
|
void |
convertDefaultToSpecifiedJoinColumn()
Convert the join table's default join column to a specified join column. |
|
JoinColumn |
getDefaultJoinColumn()
Return the default join column or null. |
|
PersistentAttribute |
getPersistentAttribute()
|
|
boolean |
hasSpecifiedJoinColumns()
Return whether the join table has specified join columns. |
|
|
joinColumns()
Return the join table's join columns, whether specified or default. |
|
int |
joinColumnsSize()
Return the number of join columns, whether specified or default. |
|
void |
moveSpecifiedJoinColumn(int targetIndex,
int sourceIndex)
Move a join column from the specified source index to the specified target index. |
|
void |
removeSpecifiedJoinColumn(int index)
Remove the join column at the specified index from the join table. |
|
void |
removeSpecifiedJoinColumn(JoinColumn joinColumn)
Remove the specified join column from the join table. |
|
|
specifiedJoinColumns()
Return the specified join columns. |
|
int |
specifiedJoinColumnsSize()
Return the number of specified join columns. |
|
| Methods inherited from interface org.eclipse.jpt.core.context.Table |
|---|
addUniqueConstraint, getCatalog, getDbCatalog, getDbSchema, getDbSchemaContainer, getDbTable, getDefaultCatalog, getDefaultName, getDefaultSchema, getName, getSchema, getSpecifiedCatalog, getSpecifiedName, getSpecifiedSchema, hasResolvedCatalog, hasResolvedSchema, isResolved, isResourceSpecified, moveUniqueConstraint, removeUniqueConstraint, removeUniqueConstraint, setSpecifiedCatalog, setSpecifiedName, setSpecifiedSchema, uniqueConstraints, uniqueConstraintsSize |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String SPECIFIED_JOIN_COLUMNS_LIST
static final java.lang.String DEFAULT_JOIN_COLUMN
| Method Detail |
|---|
PersistentAttribute getPersistentAttribute()
<T extends JoinColumn> java.util.ListIterator<T> joinColumns()
int joinColumnsSize()
void convertDefaultToSpecifiedJoinColumn()
<T extends JoinColumn> java.util.ListIterator<T> specifiedJoinColumns()
int specifiedJoinColumnsSize()
JoinColumn getDefaultJoinColumn()
JoinColumn addSpecifiedJoinColumn(int index)
void removeSpecifiedJoinColumn(int index)
void removeSpecifiedJoinColumn(JoinColumn joinColumn)
void moveSpecifiedJoinColumn(int targetIndex,
int sourceIndex)
boolean hasSpecifiedJoinColumns()
void clearSpecifiedJoinColumns()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||