org.eclipse.jpt.jpa.core.context
Interface Table
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, ReadOnlyTable
- All Known Subinterfaces:
- CollectionTable2_0, JavaCollectionTable2_0, JavaJoinTable, JavaReferenceTable, JavaSecondaryTable, JavaTable, JoinTable, OrmCollectionTable2_0, OrmJoinTable, OrmReferenceTable, OrmSecondaryTable, OrmTable, ReferenceTable, SecondaryTable
public interface Table
- extends ReadOnlyTable
- table
- secondary table
- join table
- collection table
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.0
- Version:
- 2.2
|
Nested Class Summary |
static interface |
Table.Owner
interface allowing columns to be used in multiple places
(e.g. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyTable |
getCatalog, getDbCatalog, getDbSchema, getDbSchemaContainer, getDbTable, getDefaultCatalog, getDefaultName, getDefaultSchema, getName, getSchema, getSpecifiedCatalog, getSpecifiedName, getSpecifiedSchema, uniqueConstraintsSize |
| 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 |
setSpecifiedName
void setSpecifiedName(java.lang.String value)
setSpecifiedSchema
void setSpecifiedSchema(java.lang.String value)
setSpecifiedCatalog
void setSpecifiedCatalog(java.lang.String value)
uniqueConstraints
java.util.ListIterator<? extends UniqueConstraint> uniqueConstraints()
- Specified by:
uniqueConstraints in interface ReadOnlyTable
getUniqueConstraint
UniqueConstraint getUniqueConstraint(int index)
- Specified by:
getUniqueConstraint in interface ReadOnlyTable
addUniqueConstraint
UniqueConstraint addUniqueConstraint()
addUniqueConstraint
UniqueConstraint addUniqueConstraint(int index)
removeUniqueConstraint
void removeUniqueConstraint(int index)
removeUniqueConstraint
void removeUniqueConstraint(UniqueConstraint uniqueConstraint)
moveUniqueConstraint
void moveUniqueConstraint(int targetIndex,
int sourceIndex)
isSpecifiedInResource
boolean isSpecifiedInResource()
- Return whether the table is specified in the
(Java or XML) resource.
isResolved
boolean isResolved()
- Return whether the table can be resolved to a table on the database.
schemaIsResolved
boolean schemaIsResolved()
- Return whether the table's schema can be resolved to a schema on the
database.
catalogIsResolved
boolean catalogIsResolved()
- Return whether the table has a catalog and it can be resolved to a
catalog on the database.
validatesAgainstDatabase
boolean validatesAgainstDatabase()
- Return whether the table is validated against a live database connection.