Project Wonder 5.0

com.webobjects.jdbcadaptor
Class ERDerbyPlugIn.DerbySynchronizationFactory

java.lang.Object
  extended by com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
      extended by com.webobjects.eoaccess.EOSynchronizationFactory
          extended by com.webobjects.jdbcadaptor.ERDerbyPlugIn.DerbySynchronizationFactory
All Implemented Interfaces:
com.webobjects.eoaccess.synchronization.EOSchemaGeneration, com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
Enclosing class:
ERDerbyPlugIn

public static class ERDerbyPlugIn.DerbySynchronizationFactory
extends EOSynchronizationFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory.Delegate
 
Nested classes/interfaces inherited from interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
com.webobjects.eoaccess.synchronization.EOSchemaGeneration.Delegate
 
Nested classes/interfaces inherited from interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes
 
Field Summary
 
Fields inherited from class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
_adaptor
 
Fields inherited from interface com.webobjects.eoaccess.EOSchemaGeneration
CreateDatabaseKey, CreateIndexesKey, CreatePrimaryKeySupportKey, CreateTablesKey, DropDatabaseKey, DropIndexesKey, DropPrimaryKeySupportKey, DropTablesKey, ForeignKeyConstraintsKey, PrimaryKeyConstraintsKey
 
Fields inherited from interface com.webobjects.eoaccess.EOSchemaSynchronization
AllowsNullKey, ColumnNameKey, ExternalNameKey, ExternalTypeKey, NameKey, PrecisionKey, RelationshipsKey, ScaleKey, SchemaSynchronizationForeignKeyConstraintsKey, SchemaSynchronizationPrimaryKeyConstraintsKey, SchemaSynchronizationPrimaryKeySupportKey, WidthKey
 
Fields inherited from interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
_commentsEnabled
 
Constructor Summary
ERDerbyPlugIn.DerbySynchronizationFactory(EOAdaptor adaptor)
           
 
Method Summary
 String _columnCreationClauseForAttribute(EOAttribute attribute)
           
 NSArray<EOSQLExpression> _statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName)
           
 StringBuffer addCreateClauseForAttribute(EOAttribute attribute)
           
 NSArray<EOSQLExpression> dropPrimaryKeySupportStatementsForEntityGroups(NSArray entityGroups)
           
 NSArray<EOSQLExpression> dropTableStatementsForEntityGroup(NSArray<EOEntity> entityGroup)
           
 NSArray<EOSQLExpression> foreignKeyConstraintStatementsForRelationship(EORelationship relationship)
           
 NSArray<EOSQLExpression> primaryKeySupportStatementsForEntityGroups(NSArray entityGroups)
           
 NSArray<EOSQLExpression> statementsToInsertColumnForAttribute(EOAttribute attribute, NSDictionary options)
           
 NSArray<EOSQLExpression> statementsToModifyColumnNullRule(String columnName, String tableName, boolean allowsNull, NSDictionary nsdictionary)
           
 NSArray<EOSQLExpression> statementsToRenameColumnNamed(String columnName, String tableName, String newName, NSDictionary nsdictionary)
           
 NSArray<EOSQLExpression> statementsToRenameTableNamed(String tableName, String newName, NSDictionary options)
           
 boolean supportsSchemaSynchronization()
           
 
Methods inherited from class com.webobjects.eoaccess.EOSynchronizationFactory
isColumnTypeEquivalentToColumnType, phraseCastingColumnNamed, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, statementsToConvertColumnType, statementsToCopyTableNamed, statementsToDeleteColumnNamed, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel
 
Methods inherited from class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
_allowsNullForColumnNamed, _alterPhraseCoercingColumnsWithNames, _alterPhraseDeletingColumnsWithNames, _alterPhraseInsertingColumnsWithNames, _alterPhraseInsertionClausePrefixAtIndex, _alterPhraseJoinString, _arePurelyForeignKeyConstraintRelatedChanges, _canConvertColumnOfTypeToTypeOptions, _columnAttributesInEntityGroup, _columnTypeForAttribute, _columnTypeForChangeDictionaryAndAttribute, _columnTypeNamedWithPrecisionScaleAndWidth, _directCoercionsForEntityGroupInTable, _entityGroupInModelForTableNamed, _entityGroupsInModelReferringToTableNamed, _expressionForEntity, _expressionForString, _firstAttributeInEntityGroupWithColumnName, _foreignKeyConstraintStatementsForEntityGroup, _intForExpressionStringAdaptorChannel, _isPoorlyFormedColumnType, _isSignificantExceptionAtIndexOfSynchronizationStatements, _isTableCopyingRequiredByColumnChangesToEntityGroup, _isTableNamed, _nameInObjectStoreForEntityGroupWithChangeDictionary, _namesOfColumnsCoercedInChangeDictionaryForEntityGroup, _nullCountForColumnNamedInTableNamedBeneathModel, _parameterizedTypes, _prettyDictionary, _primaryKeyEntityGroupsForEntityGroups, _rowCountForTableNamedBeneathModel, _schemaCreationStatementsForEntityGroup, _schemaSynchronizationAdaptor, _schemaSynchronizationAdaptorChannelForModel, _schemaSynchronizationCommentsEnabled, _setSchemaSynchronizationCommentsEnabled, _sqlReplacements, _statementsCommentedWithString, _statementsToCreateTableForEntityGroupOptions, _statementsToDeleteTableNamedOptions, _statementsToDirectlyUpdateObjectStoreForEntityGroup, _statementsToIndirectlyUpdateObjectStoreForEntityGroupWithChangeDictionaryOptions, _statementsToUpdateObjectStoreForEntityGroup, _tableNameMapInChangeDictionary, _temporaryNameForTableName, adaptor, appendExpressionToScript, attributeInEntityWithColumnName, columnDescriptionForTableAndModel, createDatabaseStatementsForConnectionDictionary, createIndexExpressionsForEntity, createIndexStatementForEntity, createIndexStatementsForEntityGroup, createIndexStatementsForEntityGroups, createTableStatementsForEntityGroup, createTableStatementsForEntityGroups, dropDatabaseStatementsForConnectionDictionary, dropIndexExpressionsForEntity, dropIndexStatementForEntity, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropPrimaryKeySupportStatementsForEntityGroup, dropTableStatementsForEntityGroups, formatColumnName, formatTableName, indexDefinitionForEntity, indexDescriptionForTableAndModel, isCaseSensitive, isColumnTypeEquivalentToColumnType, logicalErrorsInChangeDictionaryForModelOptions, newChanges, newOptions, objectStoreChangesFromAttributeToAttribute, phraseCastingColumnNamed, primaryKeyConstraintStatementsForEntityGroup, primaryKeyConstraintStatementsForEntityGroups, primaryKeyEntityGroupsForEntities, primaryKeySupportStatementsForEntityGroup, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, schemaSynchronizationDelegate, setSchemaGenerationDelegate, setSchemaSynchronizationDelegate, statementsToConvertColumnType, statementsToCopyTableNamed, statementsToDeleteColumnNamed, statementsToDropForeignKeyConstraintsOnEntityGroup, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToInsertColumnForAttribute, statementsToModifyColumnNullRule, statementsToRenameColumnNamed, statementsToRenameTableNamed, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel, supportsDirectColumnCoercion, supportsDirectColumnDeletion, supportsDirectColumnInsertion, supportsDirectColumnNullRuleModification, supportsDirectColumnRenaming, supportsTableDescriptionIntrospection, tableDescriptionForModel, tableEntityGroupsForEntities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
appendExpressionToScript, createDatabaseStatementsForConnectionDictionary, createIndexStatementsForEntityGroup, createIndexStatementsForEntityGroups, createTableStatementsForEntityGroup, createTableStatementsForEntityGroups, dropDatabaseStatementsForConnectionDictionary, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropPrimaryKeySupportStatementsForEntityGroup, dropTableStatementsForEntityGroups, newOptions, primaryKeyConstraintStatementsForEntityGroup, primaryKeyConstraintStatementsForEntityGroups, primaryKeySupportStatementsForEntityGroup, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, setSchemaGenerationDelegate
 
Methods inherited from interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
columnDescriptionForTableAndModel, indexDescriptionForTableAndModel, isColumnTypeEquivalentToColumnType, newChanges, newOptions, objectStoreChangesFromAttributeToAttribute, phraseCastingColumnNamed, statementsToConvertColumnType, statementsToCopyTableNamed, statementsToDeleteColumnNamed, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToInsertColumnForAttribute, statementsToModifyColumnNullRule, statementsToRenameColumnNamed, statementsToRenameTableNamed, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel, supportsDirectColumnCoercion, supportsDirectColumnDeletion, supportsDirectColumnInsertion, supportsDirectColumnNullRuleModification, supportsDirectColumnRenaming, supportsTableDescriptionIntrospection, tableDescriptionForModel
 

Constructor Detail

ERDerbyPlugIn.DerbySynchronizationFactory

public ERDerbyPlugIn.DerbySynchronizationFactory(EOAdaptor adaptor)
Method Detail

_columnCreationClauseForAttribute

public String _columnCreationClauseForAttribute(EOAttribute attribute)
Overrides:
_columnCreationClauseForAttribute in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory

addCreateClauseForAttribute

public StringBuffer addCreateClauseForAttribute(EOAttribute attribute)

_statementsToDropPrimaryKeyConstraintsOnTableNamed

public NSArray<EOSQLExpression> _statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName)
Overrides:
_statementsToDropPrimaryKeyConstraintsOnTableNamed in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory

dropPrimaryKeySupportStatementsForEntityGroups

public NSArray<EOSQLExpression> dropPrimaryKeySupportStatementsForEntityGroups(NSArray entityGroups)
Specified by:
dropPrimaryKeySupportStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
Overrides:
dropPrimaryKeySupportStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory

dropTableStatementsForEntityGroup

public NSArray<EOSQLExpression> dropTableStatementsForEntityGroup(NSArray<EOEntity> entityGroup)
Specified by:
dropTableStatementsForEntityGroup in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
Overrides:
dropTableStatementsForEntityGroup in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory

statementsToModifyColumnNullRule

public NSArray<EOSQLExpression> statementsToModifyColumnNullRule(String columnName,
                                                                 String tableName,
                                                                 boolean allowsNull,
                                                                 NSDictionary nsdictionary)
Overrides:
statementsToModifyColumnNullRule in class EOSynchronizationFactory

foreignKeyConstraintStatementsForRelationship

public NSArray<EOSQLExpression> foreignKeyConstraintStatementsForRelationship(EORelationship relationship)
Specified by:
foreignKeyConstraintStatementsForRelationship in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
Overrides:
foreignKeyConstraintStatementsForRelationship in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory

primaryKeySupportStatementsForEntityGroups

public NSArray<EOSQLExpression> primaryKeySupportStatementsForEntityGroups(NSArray entityGroups)
Specified by:
primaryKeySupportStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
Overrides:
primaryKeySupportStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory

statementsToRenameColumnNamed

public NSArray<EOSQLExpression> statementsToRenameColumnNamed(String columnName,
                                                              String tableName,
                                                              String newName,
                                                              NSDictionary nsdictionary)
Overrides:
statementsToRenameColumnNamed in class EOSynchronizationFactory

statementsToInsertColumnForAttribute

public NSArray<EOSQLExpression> statementsToInsertColumnForAttribute(EOAttribute attribute,
                                                                     NSDictionary options)
Overrides:
statementsToInsertColumnForAttribute in class EOSynchronizationFactory

statementsToRenameTableNamed

public NSArray<EOSQLExpression> statementsToRenameTableNamed(String tableName,
                                                             String newName,
                                                             NSDictionary options)
Overrides:
statementsToRenameTableNamed in class EOSynchronizationFactory

supportsSchemaSynchronization

public boolean supportsSchemaSynchronization()
Specified by:
supportsSchemaSynchronization in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
Overrides:
supportsSchemaSynchronization in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.