public abstract class JoinTable extends TableImpl
Modifier and Type | Field and Description |
---|---|
protected org.datanucleus.metadata.AbstractMemberMetaData |
mmd
MetaData for the field/property in the owner class.
|
protected JavaTypeMapping |
ownerMapping
Mapping of owner column(s) back to the owner table PK.
|
protected String |
ownerType
Object type of the owner.
|
columns, columnsByName, dba, existsInDatastore, identifier, state, storeMgr, TABLE_STATE_INITIALIZED, TABLE_STATE_INITIALIZED_MODIFIED, TABLE_STATE_NEW, TABLE_STATE_PK_INITIALIZED, TABLE_STATE_VALIDATED
Modifier | Constructor and Description |
---|---|
protected |
JoinTable(DatastoreIdentifier tableName,
org.datanucleus.metadata.AbstractMemberMetaData mmd,
RDBMSStoreManager storeMgr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
JavaTypeMapping |
getIdMapping()
Accessor for a mapping for the ID (persistable) for this table.
|
JavaTypeMapping |
getOwnerMapping()
Accessor for the "owner" mapping end of the relationship.
|
org.datanucleus.metadata.AbstractMemberMetaData |
getOwnerMemberMetaData()
Accessor for the MetaData for the owner field/property for this container.
|
PrimaryKey |
getPrimaryKey()
Accessor for the primary key for this table.
|
protected boolean |
requiresPrimaryKey()
Convenience method for whether a PK is required for the join table.
|
createConstraints, dropConstraints, getExpectedCandidateKeys, getExpectedForeignKeys, getExpectedIndices, getSQLAddCandidateKeyStatements, getSQLAddFKStatements, getSQLCreateIndexStatements, getSQLCreateStatements, getSQLDropStatements, initializeColumnInfoForPrimaryKeyColumns, initializeColumnInfoFromDatastore, logMapping, postInitialize, preInitialize, validate, validateColumns, validateConstraints, validatePrimaryKey
addColumn, addColumnInternal, allowDDLOutput, assertIsInitialized, assertIsInitializedModified, assertIsPKInitialized, assertIsPKUninitialized, assertIsUninitialized, assertIsValidated, create, drop, equals, executeDdlStatement, executeDdlStatementList, exists, getCatalogName, getClassMetaData, getColumn, getColumnForName, getColumnForPosition, getColumns, getDatastoreIdColumn, getDatastoreIdentifierFullyQualified, getDiscriminatorColumn, getDiscriminatorMapping, getDiscriminatorMetaData, getIdentifier, getMemberColumnMappingForEmbeddedMember, getMemberColumnMappingForMember, getMemberColumnMappings, getMultitenancyColumn, getMultitenancyMapping, getName, getNumberOfColumns, getSchemaName, getStoreManager, getVersionColumn, getVersionMapping, getVersionMetaData, hasColumn, hasColumnName, hashCode, isInitialized, isInitializedModified, isPKInitialized, isValidated, tableExistsInDatastore, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getMemberMapping, initialize
protected final org.datanucleus.metadata.AbstractMemberMetaData mmd
protected JavaTypeMapping ownerMapping
protected final String ownerType
protected JoinTable(DatastoreIdentifier tableName, org.datanucleus.metadata.AbstractMemberMetaData mmd, RDBMSStoreManager storeMgr)
tableName
- The Table SQL identifiermmd
- Member meta data for the owner field/propertystoreMgr
- Manager for the datastore.public PrimaryKey getPrimaryKey()
getPrimaryKey
in class TableImpl
protected boolean requiresPrimaryKey()
public JavaTypeMapping getOwnerMapping()
public org.datanucleus.metadata.AbstractMemberMetaData getOwnerMemberMetaData()
public JavaTypeMapping getIdMapping()
Copyright © 2015. All rights reserved.