public static class _H2PlugIn.H2SynchronizationFactory
extends com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
Constructor and Description |
---|
H2SynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor) |
Modifier and Type | Method and Description |
---|---|
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
_statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName) |
String |
columnTypeStringForAttribute(EOAttribute attribute) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropPrimaryKeySupportStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropTableStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship) |
String |
formatUpperString(String string) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
primaryKeySupportStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup) |
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 oldTableName,
String newTableName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
boolean |
supportsSchemaSynchronization() |
_allowsNullForColumnNamed, _alterPhraseCoercingColumnsWithNames, _alterPhraseDeletingColumnsWithNames, _alterPhraseInsertingColumnsWithNames, _alterPhraseInsertionClausePrefixAtIndex, _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, dropPrimaryKeySupportStatementsForEntityGroups, dropTableStatementsForEntityGroups, formatColumnName, formatTableName, indexDefinitionForEntity, indexDescriptionForTableAndModel, isCaseSensitive, isColumnTypeEquivalentToColumnType, logicalErrorsInChangeDictionaryForModelOptions, newChanges, newOptions, objectStoreChangesFromAttributeToAttribute, phraseCastingColumnNamed, primaryKeyConstraintStatementsForEntityGroup, primaryKeyConstraintStatementsForEntityGroups, primaryKeyEntityGroupsForEntities, primaryKeySupportStatementsForEntityGroups, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, schemaSynchronizationDelegate, setSchemaGenerationDelegate, setSchemaSynchronizationDelegate, statementsToCopyTableNamed, statementsToDropForeignKeyConstraintsOnEntityGroup, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel, supportsDirectColumnCoercion, supportsDirectColumnDeletion, supportsDirectColumnInsertion, supportsDirectColumnNullRuleModification, supportsDirectColumnRenaming, supportsTableDescriptionIntrospection, tableDescriptionForModel, tableEntityGroupsForEntities
public H2SynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor)
public NSArray<com.webobjects.eoaccess.EOSQLExpression> _statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName)
_statementsToDropPrimaryKeyConstraintsOnTableNamed
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public String columnTypeStringForAttribute(EOAttribute attribute)
public NSArray<com.webobjects.eoaccess.EOSQLExpression> dropPrimaryKeySupportStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
dropPrimaryKeySupportStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
dropPrimaryKeySupportStatementsForEntityGroup
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> dropTableStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
dropTableStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
dropTableStatementsForEntityGroup
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> primaryKeySupportStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
primaryKeySupportStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
primaryKeySupportStatementsForEntityGroup
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> 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 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 NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameTableNamed(String oldTableName, String newTableName, 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
Copyright © 2002 – 2020 Project Wonder.