|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaSecondaryTable
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 |
---|
Fields inherited from interface org.eclipse.jpt.core.context.SecondaryTable |
---|
DEFAULT_PRIMARY_KEY_JOIN_COLUMN, SPECIFIED_PRIMARY_KEY_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 | |
---|---|
JavaPrimaryKeyJoinColumn |
addSpecifiedPrimaryKeyJoinColumn(int index)
Add a specified primary key join column to the secondary table return the object representing it. |
JavaUniqueConstraint |
addUniqueConstraint(int index)
Add a unique constraint to the table and return the object representing it. |
JavaPrimaryKeyJoinColumn |
getDefaultPrimaryKeyJoinColumn()
Return the default primary key join column or null. |
void |
initializeFromResource(SecondaryTableAnnotation secondaryTable)
|
java.util.ListIterator<JavaPrimaryKeyJoinColumn> |
primaryKeyJoinColumns()
Return a list iterator of the primary key join columns whether specified or default. |
java.util.ListIterator<JavaPrimaryKeyJoinColumn> |
specifiedPrimaryKeyJoinColumns()
Return a list iterator of the specified primary key join columns. |
java.util.ListIterator<JavaUniqueConstraint> |
uniqueConstraints()
Return a list iterator of the unique constraints. |
void |
update(SecondaryTableAnnotation secondaryTable)
|
Methods inherited from interface org.eclipse.jpt.core.context.SecondaryTable |
---|
getParent, isVirtual, moveSpecifiedPrimaryKeyJoinColumn, primaryKeyJoinColumnsSize, removeSpecifiedPrimaryKeyJoinColumn, removeSpecifiedPrimaryKeyJoinColumn, specifiedPrimaryKeyJoinColumnsSize |
Methods inherited from interface org.eclipse.jpt.core.context.Table |
---|
connectionProfileIsActive, getCatalog, getDbSchema, getDbTable, getDefaultCatalog, getDefaultName, getDefaultSchema, getName, getSchema, getSpecifiedCatalog, getSpecifiedName, getSpecifiedSchema, hasResolvedSchema, isResolved, moveUniqueConstraint, removeUniqueConstraint, removeUniqueConstraint, setSpecifiedCatalog, setSpecifiedName, setSpecifiedSchema, uniqueConstraintsSize |
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
---|
getEntityMappings, getOrmPersistentType, getPersistenceUnit |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode |
---|
addToMessages, getValidationTextRange, javaCompletionProposals |
Method Detail |
---|
void initializeFromResource(SecondaryTableAnnotation secondaryTable)
void update(SecondaryTableAnnotation secondaryTable)
java.util.ListIterator<JavaPrimaryKeyJoinColumn> primaryKeyJoinColumns()
SecondaryTable
primaryKeyJoinColumns
in interface SecondaryTable
JavaPrimaryKeyJoinColumn getDefaultPrimaryKeyJoinColumn()
SecondaryTable
getDefaultPrimaryKeyJoinColumn
in interface SecondaryTable
java.util.ListIterator<JavaPrimaryKeyJoinColumn> specifiedPrimaryKeyJoinColumns()
SecondaryTable
specifiedPrimaryKeyJoinColumns
in interface SecondaryTable
JavaPrimaryKeyJoinColumn addSpecifiedPrimaryKeyJoinColumn(int index)
SecondaryTable
addSpecifiedPrimaryKeyJoinColumn
in interface SecondaryTable
java.util.ListIterator<JavaUniqueConstraint> uniqueConstraints()
Table
uniqueConstraints
in interface Table
JavaUniqueConstraint addUniqueConstraint(int index)
Table
addUniqueConstraint
in interface Table
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |