public static class _OpenBasePlugIn.OpenBaseSynchronizationFactory
extends com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
implements com.webobjects.eoaccess.synchronization.EOSchemaGeneration
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory.Delegate
Constructor and Description |
---|
OpenBaseSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor) |
Modifier and Type | Method and Description |
---|---|
String |
_alterPhraseCoercingColumnsWithNames(NSArray columnNames,
NSDictionary updates,
NSArray entityGroup,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
String |
_alterPhraseDeletingColumnsWithNames(NSArray columnNames,
NSArray entityGroup,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
String |
_alterPhraseInsertionClausePrefixAtIndex(int columnIndex) |
String |
_alterPhraseJoinString() |
NSArray |
dropPrimaryKeySupportStatementsForEntityGroup(NSArray entityGroup) |
NSArray |
dropPrimaryKeySupportStatementsForEntityGroups(NSArray entityGroups) |
NSArray |
foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship) |
boolean |
isColumnTypeEquivalentToColumnType(com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes candidate,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes columnType,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
protected boolean |
isSinglePrimaryKeyAttribute(EOAttribute attribute) |
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationColumnChanges |
objectStoreChangesFromAttributeToAttribute(EOAttribute schemaAttribute,
EOAttribute modelAttribute) |
NSArray |
primaryKeyConstraintStatementsForEntityGroup(NSArray entityGroup) |
NSArray |
primaryKeySupportStatementsForEntityGroup(NSArray entityGroup) |
NSArray |
primaryKeySupportStatementsForEntityGroups(NSArray entityGroups) |
String |
schemaCreationScriptForEntities(NSArray<com.webobjects.eoaccess.EOEntity> arg0,
NSDictionary<String,String> arg1) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
schemaCreationStatementsForEntities(NSArray<com.webobjects.eoaccess.EOEntity> arg0,
NSDictionary<String,String> arg1) |
NSArray |
statementsToDropForeignKeyConstraintsOnEntityGroups(NSArray entityGroups,
NSDictionary changes,
NSDictionary options) |
NSArray |
statementsToDropPrimaryKeyConstraintsOnEntityGroups(NSArray entityGroups,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationModelChanges changes,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray |
statementsToImplementPrimaryKeyConstraintsOnEntityGroups(NSArray entityGroups,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationModelChanges changes,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray |
statementsToModifyColumnNullRule(String columnName,
String tableName,
boolean allowsNull,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray |
statementsToRenameColumnNamed(String columnName,
String tableName,
String newName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray |
statementsToRenameTableNamed(String tableName,
String newName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
boolean |
supportsDirectColumnCoercion() |
boolean |
supportsDirectColumnDeletion() |
boolean |
supportsDirectColumnInsertion() |
boolean |
supportsDirectColumnNullRuleModification() |
boolean |
supportsDirectColumnRenaming() |
boolean |
supportsSchemaSynchronization() |
_allowsNullForColumnNamed, _alterPhraseCoercingColumnsWithNames, _alterPhraseInsertingColumnsWithNames, _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, _statementsToDropPrimaryKeyConstraintsOnTableNamed, _statementsToIndirectlyUpdateObjectStoreForEntityGroupWithChangeDictionaryOptions, _statementsToUpdateObjectStoreForEntityGroup, _tableNameMapInChangeDictionary, _temporaryNameForTableName, adaptor, appendExpressionToScript, attributeInEntityWithColumnName, columnDescriptionForTableAndModel, createDatabaseStatementsForConnectionDictionary, createIndexExpressionsForEntity, createIndexStatementForEntity, createIndexStatementsForEntityGroup, createIndexStatementsForEntityGroups, createTableStatementsForEntityGroup, createTableStatementsForEntityGroups, dropDatabaseStatementsForConnectionDictionary, dropIndexExpressionsForEntity, dropIndexStatementForEntity, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropTableStatementsForEntityGroup, dropTableStatementsForEntityGroups, formatColumnName, formatTableName, indexDefinitionForEntity, indexDescriptionForTableAndModel, isCaseSensitive, logicalErrorsInChangeDictionaryForModelOptions, newChanges, newOptions, phraseCastingColumnNamed, primaryKeyConstraintStatementsForEntityGroups, primaryKeyEntityGroupsForEntities, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, schemaSynchronizationDelegate, setSchemaGenerationDelegate, setSchemaSynchronizationDelegate, statementsToConvertColumnType, statementsToCopyTableNamed, statementsToDeleteColumnNamed, statementsToDropForeignKeyConstraintsOnEntityGroup, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToInsertColumnForAttribute, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel, supportsTableDescriptionIntrospection, tableDescriptionForModel, tableEntityGroupsForEntities
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendExpressionToScript, createDatabaseStatementsForConnectionDictionary, createIndexStatementsForEntityGroup, createIndexStatementsForEntityGroups, createTableStatementsForEntityGroup, createTableStatementsForEntityGroups, dropDatabaseStatementsForConnectionDictionary, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropTableStatementsForEntityGroup, dropTableStatementsForEntityGroups, newOptions, primaryKeyConstraintStatementsForEntityGroups, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, setSchemaGenerationDelegate
public OpenBaseSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor)
public NSArray dropPrimaryKeySupportStatementsForEntityGroups(NSArray entityGroups)
dropPrimaryKeySupportStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
dropPrimaryKeySupportStatementsForEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship)
foreignKeyConstraintStatementsForRelationship
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
foreignKeyConstraintStatementsForRelationship
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray primaryKeySupportStatementsForEntityGroups(NSArray entityGroups)
primaryKeySupportStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
primaryKeySupportStatementsForEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public String _alterPhraseCoercingColumnsWithNames(NSArray columnNames, NSDictionary updates, NSArray entityGroup, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
public String _alterPhraseDeletingColumnsWithNames(NSArray columnNames, NSArray entityGroup, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
_alterPhraseDeletingColumnsWithNames
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public String _alterPhraseInsertionClausePrefixAtIndex(int columnIndex)
_alterPhraseInsertionClausePrefixAtIndex
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public String _alterPhraseJoinString()
_alterPhraseJoinString
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
protected boolean isSinglePrimaryKeyAttribute(EOAttribute attribute)
public NSArray primaryKeyConstraintStatementsForEntityGroup(NSArray entityGroup)
primaryKeyConstraintStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
primaryKeyConstraintStatementsForEntityGroup
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public boolean isColumnTypeEquivalentToColumnType(com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes candidate, com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes columnType, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
isColumnTypeEquivalentToColumnType
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
isColumnTypeEquivalentToColumnType
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray statementsToDropForeignKeyConstraintsOnEntityGroups(NSArray entityGroups, NSDictionary changes, NSDictionary options)
public NSArray statementsToDropPrimaryKeyConstraintsOnEntityGroups(NSArray entityGroups, com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationModelChanges changes, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToDropPrimaryKeyConstraintsOnEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToDropPrimaryKeyConstraintsOnEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray statementsToImplementPrimaryKeyConstraintsOnEntityGroups(NSArray entityGroups, com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationModelChanges changes, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToImplementPrimaryKeyConstraintsOnEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
statementsToImplementPrimaryKeyConstraintsOnEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray 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 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 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 supportsDirectColumnCoercion()
supportsDirectColumnCoercion
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsDirectColumnCoercion
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public boolean supportsDirectColumnDeletion()
supportsDirectColumnDeletion
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsDirectColumnDeletion
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public boolean supportsDirectColumnInsertion()
supportsDirectColumnInsertion
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsDirectColumnInsertion
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 boolean supportsDirectColumnRenaming()
supportsDirectColumnRenaming
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsDirectColumnRenaming
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 NSArray primaryKeySupportStatementsForEntityGroup(NSArray entityGroup)
primaryKeySupportStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
primaryKeySupportStatementsForEntityGroup
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray dropPrimaryKeySupportStatementsForEntityGroup(NSArray entityGroup)
dropPrimaryKeySupportStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
dropPrimaryKeySupportStatementsForEntityGroup
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationColumnChanges objectStoreChangesFromAttributeToAttribute(EOAttribute schemaAttribute, EOAttribute modelAttribute)
objectStoreChangesFromAttributeToAttribute
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
objectStoreChangesFromAttributeToAttribute
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public String schemaCreationScriptForEntities(NSArray<com.webobjects.eoaccess.EOEntity> arg0, NSDictionary<String,String> arg1)
public NSArray<com.webobjects.eoaccess.EOSQLExpression> schemaCreationStatementsForEntities(NSArray<com.webobjects.eoaccess.EOEntity> arg0, NSDictionary<String,String> arg1)
Copyright © 2002 – 2020 Project Wonder.