org.jpox.store.rdbms.table
Class CollectionTable
java.lang.Object
org.jpox.store.rdbms.table.AbstractTable
org.jpox.store.rdbms.table.TableImpl
org.jpox.store.rdbms.table.JoinTable
org.jpox.store.rdbms.table.ElementContainerTable
org.jpox.store.rdbms.table.CollectionTable
- All Implemented Interfaces:
- DatastoreContainerObject, DatastoreObject, SCOTable, Table
- Direct Known Subclasses:
- ListTable, SetTable
- public class CollectionTable
- extends ElementContainerTable
Representation of a join table for a Collection.
Provides the common parts of Set and List join tables.
- Version:
- $Revision: 1.25 $
Methods inherited from class org.jpox.store.rdbms.table.ElementContainerTable |
applyUserPrimaryKeySpecification, getElementMapping, getExpectedCandidateKeys, getExpectedForeignKeys, getExpectedIndices, getFieldMapping, getForeignKeyToElement, getForeignKeyToOwner, getOrderMapping, getRelationDiscriminatorMapping, getRelationDiscriminatorValue |
Methods inherited from class org.jpox.store.rdbms.table.TableImpl |
dropConstraints, getSQLAddCandidateKeyStatements, getSQLAddFKStatements, getSQLCreateIndexStatements, getSQLCreateStatements, getSQLDropStatements, initializeColumnInfoForPrimaryKeyColumns, initializeColumnInfoFromDatastore, postInitialize, preInitialize, validate, validateColumns, validateConstraints, validatePrimaryKey |
Methods inherited from class org.jpox.store.rdbms.table.AbstractTable |
addColumnInternal, addDatastoreField, allowDdlDump, assertIsInitialized, assertIsInitializedModified, assertIsPKInitialized, assertIsPKUninitialized, assertIsUninitialized, assertIsValidated, create, drop, equals, executeDdlStatement, executeDdlStatementList, exists, getCatalogName, getDatastoreIdentifierFullyQualified, getDiscriminatorMapping, getDiscriminatorMetaData, getIdentifier, getSchemaName, getStoreManager, getVersionMapping, getVersionMetaData, hasColumnName, hasDatastoreField, hashCode, isDumpingDdl, isInitialized, isInitializedModified, isPKInitialized, isValidated, setDdlDumpWriter, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jpox.store.rdbms.table.Table |
create, drop, exists, getCatalogName, getSchemaName, isInitialized, isInitializedModified, isValidated, postInitialize, preInitialize, validate |
CollectionTable
public CollectionTable(DatastoreIdentifier tableName,
AbstractPropertyMetaData fmd,
RDBMSManager storeMgr)
- Constructor.
- Parameters:
tableName
- Identifier name of the tablefmd
- MetaData for the field of the ownerstoreMgr
- The Store Manager managing these tables.
initialize
public void initialize(ClassLoaderResolver clr)
- Method to initialise the table definition. Adds the owner mapping.
- Specified by:
initialize
in interface Table
- Overrides:
initialize
in class ElementContainerTable
- Parameters:
clr
- The ClassLoaderResolver
getElementType
public java.lang.String getElementType()
- Accessor for the element type stored in this Collection/Set/List.
- Specified by:
getElementType
in class ElementContainerTable
- Returns:
- Name of element type.
isSerialisedElement
public boolean isSerialisedElement()
- Accessor for whether the element is serialised into this table.
This can be a serialised PersistenceCapable, or a serialised simple type
- Returns:
- Whether the element is serialised.
isEmbeddedElement
public boolean isEmbeddedElement()
- Accessor for whether the element is embedded into this table.
This can be an embedded PersistenceCapable, or an embedded simple type
- Returns:
- Whether the element is embedded.
isSerialisedElementPC
public boolean isSerialisedElementPC()
- Accessor for whether the element is a PersistenceCapable(serialised)
- Returns:
- Whether the element is PC and is serialised
isEmbeddedElementPC
public boolean isEmbeddedElementPC()
- Accessor for whether the element is a PersistenceCapable(embedded)
- Returns:
- Whether the element is PC and is embedded
Copyright © -2007 . All Rights Reserved.