|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_CATALOG_PROPERTY
|
static java.lang.String |
DEFAULT_NAME_PROPERTY
|
static java.lang.String |
DEFAULT_SCHEMA_PROPERTY
|
static java.lang.String |
SPECIFIED_CATALOG_PROPERTY
|
static java.lang.String |
SPECIFIED_NAME_PROPERTY
|
static java.lang.String |
SPECIFIED_SCHEMA_PROPERTY
|
static java.lang.String |
UNIQUE_CONSTRAINTS_LIST
|
| Method Summary | ||
|---|---|---|
UniqueConstraint |
addUniqueConstraint(int index)
|
|
java.lang.String |
getCatalog()
Return the specified catalog if present, otherwise return the default catalog. |
|
Catalog |
getDbCatalog()
|
|
Schema |
getDbSchema()
|
|
SchemaContainer |
getDbSchemaContainer()
|
|
Table |
getDbTable()
|
|
java.lang.String |
getDefaultCatalog()
|
|
java.lang.String |
getDefaultName()
|
|
java.lang.String |
getDefaultSchema()
|
|
java.lang.String |
getName()
Return the specified name if present, otherwise return the default name. |
|
java.lang.String |
getSchema()
Return the specified schema if present, otherwise return the default schema. |
|
java.lang.String |
getSpecifiedCatalog()
|
|
java.lang.String |
getSpecifiedName()
|
|
java.lang.String |
getSpecifiedSchema()
|
|
boolean |
hasResolvedCatalog()
Return whether the table has a catalog and it can be resolved to a catalog on the database. |
|
boolean |
hasResolvedSchema()
Return whether the table's schema can be resolved to a schema on the database. |
|
boolean |
isResolved()
Return whether the table can be resolved to a table on the database. |
|
boolean |
isResourceSpecified()
Return whether the table is specified in the resource. |
|
void |
moveUniqueConstraint(int targetIndex,
int sourceIndex)
|
|
void |
removeUniqueConstraint(int index)
|
|
void |
removeUniqueConstraint(UniqueConstraint uniqueConstraint)
|
|
void |
setSpecifiedCatalog(java.lang.String value)
|
|
void |
setSpecifiedName(java.lang.String value)
|
|
void |
setSpecifiedSchema(java.lang.String value)
|
|
|
uniqueConstraints()
|
|
int |
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_NAME_PROPERTY
static final java.lang.String DEFAULT_NAME_PROPERTY
static final java.lang.String SPECIFIED_SCHEMA_PROPERTY
static final java.lang.String DEFAULT_SCHEMA_PROPERTY
static final java.lang.String SPECIFIED_CATALOG_PROPERTY
static final java.lang.String DEFAULT_CATALOG_PROPERTY
static final java.lang.String UNIQUE_CONSTRAINTS_LIST
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getSpecifiedName()
void setSpecifiedName(java.lang.String value)
java.lang.String getDefaultName()
java.lang.String getSchema()
java.lang.String getSpecifiedSchema()
void setSpecifiedSchema(java.lang.String value)
java.lang.String getDefaultSchema()
java.lang.String getCatalog()
java.lang.String getSpecifiedCatalog()
void setSpecifiedCatalog(java.lang.String value)
java.lang.String getDefaultCatalog()
<T extends UniqueConstraint> java.util.ListIterator<T> uniqueConstraints()
int uniqueConstraintsSize()
UniqueConstraint addUniqueConstraint(int index)
void removeUniqueConstraint(int index)
void removeUniqueConstraint(UniqueConstraint uniqueConstraint)
void moveUniqueConstraint(int targetIndex,
int sourceIndex)
Table getDbTable()
Schema getDbSchema()
Catalog getDbCatalog()
SchemaContainer getDbSchemaContainer()
boolean isResolved()
boolean hasResolvedSchema()
boolean hasResolvedCatalog()
boolean isResourceSpecified()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||