|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ReadOnlyTable
Read-only 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.
| Nested Class Summary | |
|---|---|
static class |
ReadOnlyTable.DbTableTransformer
|
static class |
ReadOnlyTable.NameTransformer
|
static interface |
ReadOnlyTable.Owner
interface allowing columns to be used in multiple places (e.g. basic mappings and attribute overrides) |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static org.eclipse.jpt.common.utility.transformer.Transformer<ReadOnlyTable,Table> |
DB_TABLE_TRANSFORMER
|
static String |
DEFAULT_CATALOG_PROPERTY
|
static String |
DEFAULT_NAME_PROPERTY
|
static String |
DEFAULT_SCHEMA_PROPERTY
|
static org.eclipse.jpt.common.utility.transformer.Transformer<ReadOnlyTable,String> |
NAME_TRANSFORMER
|
static String |
SPECIFIED_CATALOG_PROPERTY
|
static String |
SPECIFIED_NAME_PROPERTY
|
static String |
SPECIFIED_SCHEMA_PROPERTY
|
static String |
UNIQUE_CONSTRAINTS_LIST
|
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
RESOURCE_TYPE_TRANSFORMER |
| Method Summary | |
|---|---|
boolean |
catalogIsResolved()
Return whether the table has a catalog and it can be resolved to a catalog on the database. |
String |
getCatalog()
Return the specified catalog if present, otherwise return the default catalog. |
TextRange |
getCatalogValidationTextRange()
|
Catalog |
getDbCatalog()
Return the corresponding database catalog. |
Schema |
getDbSchema()
Return the corresponding database schema. |
SchemaContainer |
getDbSchemaContainer()
Return the corresponding database schema container (catalog or database). |
Table |
getDbTable()
Return the corresponding database table. |
String |
getDefaultCatalog()
|
String |
getDefaultName()
|
String |
getDefaultSchema()
|
String |
getName()
Return the specified name if present, otherwise return the default name. |
TextRange |
getNameValidationTextRange()
|
String |
getSchema()
Return the specified schema if present, otherwise return the default schema. |
TextRange |
getSchemaValidationTextRange()
|
String |
getSpecifiedCatalog()
|
String |
getSpecifiedName()
|
String |
getSpecifiedSchema()
|
ReadOnlyUniqueConstraint |
getUniqueConstraint(int index)
|
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends ReadOnlyUniqueConstraint> |
getUniqueConstraints()
|
int |
getUniqueConstraintsSize()
|
boolean |
isResolved()
Return whether the table can be resolved to a table on the database. |
boolean |
schemaIsResolved()
Return whether the table's schema can be resolved to a schema on the database. |
boolean |
validatesAgainstDatabase()
Return whether the table is validated against a live database connection. |
| 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 |
|---|
static final org.eclipse.jpt.common.utility.transformer.Transformer<ReadOnlyTable,String> NAME_TRANSFORMER
static final String SPECIFIED_NAME_PROPERTY
static final String DEFAULT_NAME_PROPERTY
static final org.eclipse.jpt.common.utility.transformer.Transformer<ReadOnlyTable,Table> DB_TABLE_TRANSFORMER
static final String SPECIFIED_SCHEMA_PROPERTY
static final String DEFAULT_SCHEMA_PROPERTY
static final String SPECIFIED_CATALOG_PROPERTY
static final String DEFAULT_CATALOG_PROPERTY
static final String UNIQUE_CONSTRAINTS_LIST
| Method Detail |
|---|
String getName()
String getSpecifiedName()
String getDefaultName()
boolean isResolved()
Table getDbTable()
String getSchema()
String getSpecifiedSchema()
String getDefaultSchema()
boolean schemaIsResolved()
Schema getDbSchema()
String getCatalog()
String getSpecifiedCatalog()
String getDefaultCatalog()
boolean catalogIsResolved()
Catalog getDbCatalog()
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends ReadOnlyUniqueConstraint> getUniqueConstraints()
int getUniqueConstraintsSize()
ReadOnlyUniqueConstraint getUniqueConstraint(int index)
SchemaContainer getDbSchemaContainer()
boolean validatesAgainstDatabase()
TextRange getNameValidationTextRange()
TextRange getSchemaValidationTextRange()
TextRange getCatalogValidationTextRange()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||