public static class _MySQLPlugIn.MySQLSynchronizationFactory
extends com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
Constructor and Description |
---|
MySQLSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor) |
Modifier and Type | Method and Description |
---|---|
String |
_alterPhraseInsertionClausePrefixAtIndex(int columnIndex) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
_statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName) |
String |
columnTypeStringForAttribute(EOAttribute attribute) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropPrimaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship) |
protected String |
formatColumnName(String name) |
protected String |
formatTableName(String name) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
primaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToConvertColumnType(String columnName,
String tableName,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes oldType,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes newType,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToDeleteColumnNamed(String columnName,
String tableName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToInsertColumnForAttribute(EOAttribute attribute,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToModifyColumnNullRule(String columnName,
String tableName,
boolean allowsNull,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToRenameColumnNamed(String columnName,
String tableName,
String newName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToRenameTableNamed(String tableName,
String newName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
boolean |
supportsDirectColumnNullRuleModification() |
boolean |
supportsDirectColumnRenaming() |
boolean |
supportsSchemaSynchronization() |
_allowsNullForColumnNamed, _alterPhraseCoercingColumnsWithNames, _alterPhraseDeletingColumnsWithNames, _alterPhraseInsertingColumnsWithNames, _alterPhraseJoinString, _arePurelyForeignKeyConstraintRelatedChanges, _canConvertColumnOfTypeToTypeOptions, _columnAttributesInEntityGroup, _columnCreationClauseForAttribute, _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, dropTableStatementsForEntityGroup, dropTableStatementsForEntityGroups, indexDefinitionForEntity, indexDescriptionForTableAndModel, isCaseSensitive, isColumnTypeEquivalentToColumnType, logicalErrorsInChangeDictionaryForModelOptions, newChanges, newOptions, objectStoreChangesFromAttributeToAttribute, phraseCastingColumnNamed, primaryKeyConstraintStatementsForEntityGroup, primaryKeyConstraintStatementsForEntityGroups, primaryKeyEntityGroupsForEntities, primaryKeySupportStatementsForEntityGroup, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, schemaSynchronizationDelegate, setSchemaGenerationDelegate, setSchemaSynchronizationDelegate, statementsToCopyTableNamed, statementsToDropForeignKeyConstraintsOnEntityGroup, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel, supportsDirectColumnCoercion, supportsDirectColumnDeletion, supportsDirectColumnInsertion, supportsTableDescriptionIntrospection, tableDescriptionForModel, tableEntityGroupsForEntities
public MySQLSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor)
public String _alterPhraseInsertionClausePrefixAtIndex(int columnIndex)
_alterPhraseInsertionClausePrefixAtIndex
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
protected String formatTableName(String name)
formatTableName
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
protected String formatColumnName(String name)
formatColumnName
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToConvertColumnType(String columnName, String tableName, com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes oldType, com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes newType, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToConvertColumnType
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToConvertColumnType
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> primaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
primaryKeySupportStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
primaryKeySupportStatementsForEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToDeleteColumnNamed(String columnName, String tableName, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToDeleteColumnNamed
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToDeleteColumnNamed
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToInsertColumnForAttribute(EOAttribute attribute, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToInsertColumnForAttribute
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToInsertColumnForAttribute
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToModifyColumnNullRule(String columnName, String tableName, boolean allowsNull, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToModifyColumnNullRule
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToModifyColumnNullRule
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public boolean supportsDirectColumnNullRuleModification()
supportsDirectColumnNullRuleModification
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsDirectColumnNullRuleModification
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameColumnNamed(String columnName, String tableName, String newName, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToRenameColumnNamed
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToRenameColumnNamed
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public boolean supportsDirectColumnRenaming()
supportsDirectColumnRenaming
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsDirectColumnRenaming
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> dropPrimaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
dropPrimaryKeySupportStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
dropPrimaryKeySupportStatementsForEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> _statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName)
_statementsToDropPrimaryKeyConstraintsOnTableNamed
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship)
foreignKeyConstraintStatementsForRelationship
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
foreignKeyConstraintStatementsForRelationship
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameTableNamed(String tableName, String newName, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToRenameTableNamed
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToRenameTableNamed
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public boolean supportsSchemaSynchronization()
supportsSchemaSynchronization
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsSchemaSynchronization
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public String columnTypeStringForAttribute(EOAttribute attribute)
Copyright © 2002 – 2020 Project Wonder.