Project Wonder 5.0

com.webobjects.jdbcadaptor
Class _MySQLPlugIn.MySQLSynchronizationFactory

java.lang.Object
  extended by com.webobjects.eoaccess.EOSynchronizationFactory
      extended by com.webobjects.jdbcadaptor._MySQLPlugIn.MySQLSynchronizationFactory
All Implemented Interfaces:
com.webobjects.eoaccess.EOSchemaGeneration, com.webobjects.eoaccess.EOSchemaSynchronization
Enclosing class:
_MySQLPlugIn

public static class _MySQLPlugIn.MySQLSynchronizationFactory
extends com.webobjects.eoaccess.EOSynchronizationFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eoaccess.EOSynchronizationFactory
com.webobjects.eoaccess.EOSynchronizationFactory.Delegate
 
Nested classes/interfaces inherited from interface com.webobjects.eoaccess.EOSchemaSynchronization
com.webobjects.eoaccess.EOSchemaSynchronization.ColumnTypes
 
Field Summary
 
Fields inherited from class com.webobjects.eoaccess.EOSynchronizationFactory
_adaptor
 
Fields inherited from interface com.webobjects.eoaccess.EOSchemaGeneration
CreateDatabaseKey, CreatePrimaryKeySupportKey, CreateTablesKey, DropDatabaseKey, DropPrimaryKeySupportKey, DropTablesKey, ForeignKeyConstraintsKey, PrimaryKeyConstraintsKey
 
Fields inherited from interface com.webobjects.eoaccess.EOSchemaSynchronization
AllowsNullKey, ColumnNameKey, ExternalNameKey, ExternalTypeKey, NameKey, PrecisionKey, RelationshipsKey, ScaleKey, SchemaSynchronizationForeignKeyConstraintsKey, SchemaSynchronizationPrimaryKeyConstraintsKey, SchemaSynchronizationPrimaryKeySupportKey, WidthKey
 
Constructor Summary
_MySQLPlugIn.MySQLSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor)
           
 
Method Summary
 java.lang.String _alterPhraseInsertionClausePrefixAtIndex(int columnIndex)
           
 com.webobjects.foundation.NSArray _statementsToDropPrimaryKeyConstraintsOnTableNamed(java.lang.String tableName)
           
 com.webobjects.eoaccess.EOAttribute attributeInEntityWithColumnName(com.webobjects.eoaccess.EOEntity entity, java.lang.String columnName)
           
 com.webobjects.foundation.NSArray dropPrimaryKeySupportStatementsForEntityGroups(com.webobjects.foundation.NSArray entityGroups)
           
 com.webobjects.foundation.NSArray foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship)
           
protected  java.lang.String formatColumnName(java.lang.String name)
           
protected  java.lang.String formatTableName(java.lang.String name)
           
 com.webobjects.foundation.NSArray primaryKeySupportStatementsForEntityGroups(com.webobjects.foundation.NSArray entityGroups)
           
 com.webobjects.foundation.NSArray statementsToConvertColumnType(java.lang.String columnName, java.lang.String tableName, com.webobjects.eoaccess.EOSchemaSynchronization.ColumnTypes oldType, com.webobjects.eoaccess.EOSchemaSynchronization.ColumnTypes newType, com.webobjects.foundation.NSDictionary options)
           
 com.webobjects.foundation.NSArray statementsToDeleteColumnNamed(java.lang.String columnName, java.lang.String tableName, com.webobjects.foundation.NSDictionary options)
           
 com.webobjects.foundation.NSArray statementsToInsertColumnForAttribute(com.webobjects.eoaccess.EOAttribute attribute, com.webobjects.foundation.NSDictionary options)
           
 com.webobjects.foundation.NSArray statementsToModifyColumnNullRule(java.lang.String columnName, java.lang.String tableName, boolean allowsNull, com.webobjects.foundation.NSDictionary options)
           
 com.webobjects.foundation.NSArray statementsToRenameColumnNamed(java.lang.String columnName, java.lang.String tableName, java.lang.String newName, com.webobjects.foundation.NSDictionary options)
           
 com.webobjects.foundation.NSArray statementsToRenameTableNamed(java.lang.String tableName, java.lang.String newName, com.webobjects.foundation.NSDictionary options)
           
 boolean supportsDirectColumnNullRuleModification()
           
 boolean supportsDirectColumnRenaming()
           
 boolean supportsSchemaSynchronization()
           
 
Methods inherited from class com.webobjects.eoaccess.EOSynchronizationFactory
_allowsNullForColumnNamed, _alterPhraseCoercingColumnsWithNames, _alterPhraseDeletingColumnsWithNames, _alterPhraseInsertingColumnsWithNames, _alterPhraseJoinString, _arePurelyForeignKeyConstraintRelatedChanges, _canConvertColumnOfTypeToTypeOptions, _columnAttributesInEntityGroup, _columnCreationClauseForAttribute, _columnTypeForAttribute, _columnTypeForChangeDictionaryAndAttribute, _columnTypeNamedWithPrecisionScaleAndWidth, _directCoercionsForEntityGroupInTable, _entityGroupInModelForTableNamed, _entityGroupsInModelReferringToTableNamed, _EOSchemaGenerationOptions, _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, createDatabaseStatementsForConnectionDictionary, createTableStatementsForEntityGroup, createTableStatementsForEntityGroups, dropDatabaseStatementsForConnectionDictionary, dropPrimaryKeySupportStatementsForEntityGroup, dropTableStatementsForEntityGroup, dropTableStatementsForEntityGroups, isCaseSensitive, isColumnTypeEquivalentToColumnType, logicalErrorsInChangeDictionaryForModelOptions, objectStoreChangesFromAttributeToAttribute, phraseCastingColumnNamed, primaryKeyConstraintStatementsForEntityGroup, primaryKeyConstraintStatementsForEntityGroups, primaryKeyEntityGroupsForEntities, primaryKeySupportStatementsForEntityGroup, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaSynchronizationDelegate, setSchemaSynchronizationDelegate, statementsToCopyTableNamed, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel, supportsDirectColumnCoercion, supportsDirectColumnDeletion, supportsDirectColumnInsertion, tableEntityGroupsForEntities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

_MySQLPlugIn.MySQLSynchronizationFactory

public _MySQLPlugIn.MySQLSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor)
Method Detail

_alterPhraseInsertionClausePrefixAtIndex

public java.lang.String _alterPhraseInsertionClausePrefixAtIndex(int columnIndex)
Overrides:
_alterPhraseInsertionClausePrefixAtIndex in class com.webobjects.eoaccess.EOSynchronizationFactory

formatTableName

protected java.lang.String formatTableName(java.lang.String name)

formatColumnName

protected java.lang.String formatColumnName(java.lang.String name)

primaryKeySupportStatementsForEntityGroups

public com.webobjects.foundation.NSArray primaryKeySupportStatementsForEntityGroups(com.webobjects.foundation.NSArray entityGroups)
Specified by:
primaryKeySupportStatementsForEntityGroups in interface com.webobjects.eoaccess.EOSchemaGeneration
Overrides:
primaryKeySupportStatementsForEntityGroups in class com.webobjects.eoaccess.EOSynchronizationFactory

attributeInEntityWithColumnName

public com.webobjects.eoaccess.EOAttribute attributeInEntityWithColumnName(com.webobjects.eoaccess.EOEntity entity,
                                                                           java.lang.String columnName)

statementsToModifyColumnNullRule

public com.webobjects.foundation.NSArray statementsToModifyColumnNullRule(java.lang.String columnName,
                                                                          java.lang.String tableName,
                                                                          boolean allowsNull,
                                                                          com.webobjects.foundation.NSDictionary options)
Specified by:
statementsToModifyColumnNullRule in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
statementsToModifyColumnNullRule in class com.webobjects.eoaccess.EOSynchronizationFactory

supportsDirectColumnNullRuleModification

public boolean supportsDirectColumnNullRuleModification()
Specified by:
supportsDirectColumnNullRuleModification in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
supportsDirectColumnNullRuleModification in class com.webobjects.eoaccess.EOSynchronizationFactory

statementsToRenameColumnNamed

public com.webobjects.foundation.NSArray statementsToRenameColumnNamed(java.lang.String columnName,
                                                                       java.lang.String tableName,
                                                                       java.lang.String newName,
                                                                       com.webobjects.foundation.NSDictionary options)
Specified by:
statementsToRenameColumnNamed in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
statementsToRenameColumnNamed in class com.webobjects.eoaccess.EOSynchronizationFactory

statementsToConvertColumnType

public com.webobjects.foundation.NSArray statementsToConvertColumnType(java.lang.String columnName,
                                                                       java.lang.String tableName,
                                                                       com.webobjects.eoaccess.EOSchemaSynchronization.ColumnTypes oldType,
                                                                       com.webobjects.eoaccess.EOSchemaSynchronization.ColumnTypes newType,
                                                                       com.webobjects.foundation.NSDictionary options)
Specified by:
statementsToConvertColumnType in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
statementsToConvertColumnType in class com.webobjects.eoaccess.EOSynchronizationFactory

supportsDirectColumnRenaming

public boolean supportsDirectColumnRenaming()
Specified by:
supportsDirectColumnRenaming in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
supportsDirectColumnRenaming in class com.webobjects.eoaccess.EOSynchronizationFactory

statementsToDeleteColumnNamed

public com.webobjects.foundation.NSArray statementsToDeleteColumnNamed(java.lang.String columnName,
                                                                       java.lang.String tableName,
                                                                       com.webobjects.foundation.NSDictionary options)
Specified by:
statementsToDeleteColumnNamed in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
statementsToDeleteColumnNamed in class com.webobjects.eoaccess.EOSynchronizationFactory

statementsToInsertColumnForAttribute

public com.webobjects.foundation.NSArray statementsToInsertColumnForAttribute(com.webobjects.eoaccess.EOAttribute attribute,
                                                                              com.webobjects.foundation.NSDictionary options)
Specified by:
statementsToInsertColumnForAttribute in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
statementsToInsertColumnForAttribute in class com.webobjects.eoaccess.EOSynchronizationFactory

dropPrimaryKeySupportStatementsForEntityGroups

public com.webobjects.foundation.NSArray dropPrimaryKeySupportStatementsForEntityGroups(com.webobjects.foundation.NSArray entityGroups)
Specified by:
dropPrimaryKeySupportStatementsForEntityGroups in interface com.webobjects.eoaccess.EOSchemaGeneration
Overrides:
dropPrimaryKeySupportStatementsForEntityGroups in class com.webobjects.eoaccess.EOSynchronizationFactory

_statementsToDropPrimaryKeyConstraintsOnTableNamed

public com.webobjects.foundation.NSArray _statementsToDropPrimaryKeyConstraintsOnTableNamed(java.lang.String tableName)
Overrides:
_statementsToDropPrimaryKeyConstraintsOnTableNamed in class com.webobjects.eoaccess.EOSynchronizationFactory

foreignKeyConstraintStatementsForRelationship

public com.webobjects.foundation.NSArray foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship)
Specified by:
foreignKeyConstraintStatementsForRelationship in interface com.webobjects.eoaccess.EOSchemaGeneration
Overrides:
foreignKeyConstraintStatementsForRelationship in class com.webobjects.eoaccess.EOSynchronizationFactory

statementsToRenameTableNamed

public com.webobjects.foundation.NSArray statementsToRenameTableNamed(java.lang.String tableName,
                                                                      java.lang.String newName,
                                                                      com.webobjects.foundation.NSDictionary options)
Specified by:
statementsToRenameTableNamed in interface com.webobjects.eoaccess.EOSchemaSynchronization
Overrides:
statementsToRenameTableNamed in class com.webobjects.eoaccess.EOSynchronizationFactory

supportsSchemaSynchronization

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

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.