org.eclipse.jpt.jpa.core.context
Interface ReadOnlyTable

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
CollectionTable2_0, JavaCollectionTable2_0, JavaJoinTable, JavaReferenceTable, JavaSecondaryTable, JavaTable, JavaVirtualJoinTable, JoinTable, OrmCollectionTable2_0, OrmJoinTable, OrmReferenceTable, OrmSecondaryTable, OrmTable, OrmVirtualJoinTable, OrmVirtualSecondaryTable, ReadOnlyJoinTable, ReadOnlyReferenceTable, ReadOnlySecondaryTable, ReferenceTable, SecondaryTable, Table, VirtualJoinTable, VirtualReferenceTable, VirtualSecondaryTable, VirtualTable

public interface ReadOnlyTable
extends JpaContextNode

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.


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
 java.lang.String getCatalog()
          Return the specified catalog if present, otherwise return the default catalog.
 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.
 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()
           
 ReadOnlyUniqueConstraint getUniqueConstraint(int index)
           
 java.util.ListIterator<? extends ReadOnlyUniqueConstraint> uniqueConstraints()
           
 int uniqueConstraintsSize()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, getParent, stateChanged
 
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
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 

Field Detail

SPECIFIED_NAME_PROPERTY

static final java.lang.String SPECIFIED_NAME_PROPERTY
See Also:
Constant Field Values

DEFAULT_NAME_PROPERTY

static final java.lang.String DEFAULT_NAME_PROPERTY
See Also:
Constant Field Values

SPECIFIED_SCHEMA_PROPERTY

static final java.lang.String SPECIFIED_SCHEMA_PROPERTY
See Also:
Constant Field Values

DEFAULT_SCHEMA_PROPERTY

static final java.lang.String DEFAULT_SCHEMA_PROPERTY
See Also:
Constant Field Values

SPECIFIED_CATALOG_PROPERTY

static final java.lang.String SPECIFIED_CATALOG_PROPERTY
See Also:
Constant Field Values

DEFAULT_CATALOG_PROPERTY

static final java.lang.String DEFAULT_CATALOG_PROPERTY
See Also:
Constant Field Values

UNIQUE_CONSTRAINTS_LIST

static final java.lang.String UNIQUE_CONSTRAINTS_LIST
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Return the specified name if present, otherwise return the default name.


getSpecifiedName

java.lang.String getSpecifiedName()

getDefaultName

java.lang.String getDefaultName()

getSchema

java.lang.String getSchema()
Return the specified schema if present, otherwise return the default schema.


getSpecifiedSchema

java.lang.String getSpecifiedSchema()

getDefaultSchema

java.lang.String getDefaultSchema()

getCatalog

java.lang.String getCatalog()
Return the specified catalog if present, otherwise return the default catalog.


getSpecifiedCatalog

java.lang.String getSpecifiedCatalog()

getDefaultCatalog

java.lang.String getDefaultCatalog()

uniqueConstraints

java.util.ListIterator<? extends ReadOnlyUniqueConstraint> uniqueConstraints()

uniqueConstraintsSize

int uniqueConstraintsSize()

getUniqueConstraint

ReadOnlyUniqueConstraint getUniqueConstraint(int index)

getDbTable

Table getDbTable()
Return the corresponding database table.


getDbSchema

Schema getDbSchema()
Return the corresponding database schema.


getDbCatalog

Catalog getDbCatalog()
Return the corresponding database catalog.


getDbSchemaContainer

SchemaContainer getDbSchemaContainer()
Return the corresponding database schema container (catalog or database).