public static class _FrontBasePlugIn.FrontbaseSynchronizationFactory
extends com.webobjects.eoaccess.EOSynchronizationFactory
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory.Delegate
_adaptor
CreateDatabaseKey, CreateIndexesKey, CreatePrimaryKeySupportKey, CreateTablesKey, DropDatabaseKey, DropIndexesKey, DropPrimaryKeySupportKey, DropTablesKey, ForeignKeyConstraintsKey, PrimaryKeyConstraintsKey
AllowsNullKey, ColumnNameKey, ExternalNameKey, ExternalTypeKey, NameKey, PrecisionKey, RelationshipsKey, ScaleKey, SchemaSynchronizationForeignKeyConstraintsKey, SchemaSynchronizationPrimaryKeyConstraintsKey, SchemaSynchronizationPrimaryKeySupportKey, WidthKey
Constructor and Description |
---|
FrontbaseSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor eoadaptor) |
Modifier and Type | Method and Description |
---|---|
String |
_columnCreationClauseForAttribute(EOAttribute attribute) |
StringBuilder |
addCreateClauseForAttribute(EOAttribute eoattribute)
1つのアトリビュートの SQL を生成します
|
static boolean |
boolValueForKeyDefault(NSDictionary nsdictionary,
String s,
boolean flag) |
String |
columnTypeStringForAttribute(EOAttribute eoattribute) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
createDatabaseStatementsForConnectionDictionary(NSDictionary<String,Object> connectionDictionary,
NSDictionary<String,Object> administrativeConnectionDictionary) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
createIndexStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
createIndexStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
createTableStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
エンティティ・グループの SQL を生成します
|
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
createTableStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
複数のエンティティ・グループス作成 SQL を生成します。
|
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropDatabaseStatementsForConnectionDictionary(NSDictionary<String,Object> connectionDictionary,
NSDictionary<String,Object> administrativeConnectionDictionary) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropPrimaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropTableStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropTableStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
primaryKeyConstraintStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
primaryKeyConstraintStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
primaryKeySupportStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup) |
String |
schemaCreationScriptForEntities(NSArray<com.webobjects.eoaccess.EOEntity> allEntities,
NSDictionary<String,String> options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
schemaCreationStatementsForEntities(NSArray<com.webobjects.eoaccess.EOEntity> entities,
NSDictionary<String,String> options)
Eclipse の EntityModeler でエンティティを作成時に使用されるメソッド。
SQL 生成をクリックするとここで呼び出される
|
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToConvertColumnType(String columnName,
String tableName,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes oldType,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes newType,
NSDictionary<String,String> options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToDeleteColumnNamed(String columnName,
String tableName,
NSDictionary<String,String> options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToInsertColumnForAttribute(EOAttribute attribute,
NSDictionary<String,String> options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToModifyColumnNullRule(String columnName,
String tableName,
boolean allowsNull,
NSDictionary<String,String> options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToRenameColumnNamed(String columnName,
String tableName,
String newName,
NSDictionary<String,String> options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToRenameTableNamed(String tableName,
String newName,
NSDictionary<String,String> options) |
boolean |
supportsSchemaSynchronization() |
isColumnTypeEquivalentToColumnType, phraseCastingColumnNamed, statementsToCopyTableNamed, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel
_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, _statementsToDropPrimaryKeyConstraintsOnTableNamed, _statementsToIndirectlyUpdateObjectStoreForEntityGroupWithChangeDictionaryOptions, _statementsToUpdateObjectStoreForEntityGroup, _tableNameMapInChangeDictionary, _temporaryNameForTableName, adaptor, appendExpressionToScript, attributeInEntityWithColumnName, columnDescriptionForTableAndModel, createIndexExpressionsForEntity, createIndexStatementForEntity, dropIndexExpressionsForEntity, dropIndexStatementForEntity, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropPrimaryKeySupportStatementsForEntityGroup, formatColumnName, formatTableName, indexDefinitionForEntity, indexDescriptionForTableAndModel, isCaseSensitive, isColumnTypeEquivalentToColumnType, logicalErrorsInChangeDictionaryForModelOptions, newChanges, newOptions, objectStoreChangesFromAttributeToAttribute, phraseCastingColumnNamed, primaryKeyEntityGroupsForEntities, primaryKeySupportStatementsForEntityGroups, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendExpressionToScript, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropPrimaryKeySupportStatementsForEntityGroup, newOptions, primaryKeySupportStatementsForEntityGroups, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, setSchemaGenerationDelegate
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
public FrontbaseSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor eoadaptor)
public boolean supportsSchemaSynchronization()
supportsSchemaSynchronization
in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronization
supportsSchemaSynchronization
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public static boolean boolValueForKeyDefault(NSDictionary nsdictionary, String s, boolean flag)
public String schemaCreationScriptForEntities(NSArray<com.webobjects.eoaccess.EOEntity> allEntities, NSDictionary<String,String> options)
schemaCreationScriptForEntities
in class com.webobjects.eoaccess.EOSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> schemaCreationStatementsForEntities(NSArray<com.webobjects.eoaccess.EOEntity> entities, NSDictionary<String,String> options)
schemaCreationStatementsForEntities
in class com.webobjects.eoaccess.EOSynchronizationFactory
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> dropDatabaseStatementsForConnectionDictionary(NSDictionary<String,Object> connectionDictionary, NSDictionary<String,Object> administrativeConnectionDictionary)
dropDatabaseStatementsForConnectionDictionary
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
dropDatabaseStatementsForConnectionDictionary
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> createDatabaseStatementsForConnectionDictionary(NSDictionary<String,Object> connectionDictionary, NSDictionary<String,Object> administrativeConnectionDictionary)
createDatabaseStatementsForConnectionDictionary
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
createDatabaseStatementsForConnectionDictionary
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> dropTableStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
dropTableStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
dropTableStatementsForEntityGroups
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> 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> 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> createTableStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
createTableStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
createTableStatementsForEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> createTableStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
createTableStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
createTableStatementsForEntityGroup
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> createIndexStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
createIndexStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
createIndexStatementsForEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> createIndexStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
createIndexStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
createIndexStatementsForEntityGroup
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public StringBuilder addCreateClauseForAttribute(EOAttribute eoattribute)
public String columnTypeStringForAttribute(EOAttribute eoattribute)
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, NSDictionary<String,String> options)
statementsToConvertColumnType
in class com.webobjects.eoaccess.EOSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToModifyColumnNullRule(String columnName, String tableName, boolean allowsNull, NSDictionary<String,String> options)
statementsToModifyColumnNullRule
in class com.webobjects.eoaccess.EOSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToDeleteColumnNamed(String columnName, String tableName, NSDictionary<String,String> options)
statementsToDeleteColumnNamed
in class com.webobjects.eoaccess.EOSynchronizationFactory
public String _columnCreationClauseForAttribute(EOAttribute attribute)
_columnCreationClauseForAttribute
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToInsertColumnForAttribute(EOAttribute attribute, NSDictionary<String,String> options)
statementsToInsertColumnForAttribute
in class com.webobjects.eoaccess.EOSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameColumnNamed(String columnName, String tableName, String newName, NSDictionary<String,String> options)
statementsToRenameColumnNamed
in class com.webobjects.eoaccess.EOSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameTableNamed(String tableName, String newName, NSDictionary<String,String> options)
statementsToRenameTableNamed
in class com.webobjects.eoaccess.EOSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> primaryKeyConstraintStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
primaryKeyConstraintStatementsForEntityGroups
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
primaryKeyConstraintStatementsForEntityGroups
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
public NSArray<com.webobjects.eoaccess.EOSQLExpression> primaryKeyConstraintStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
primaryKeyConstraintStatementsForEntityGroup
in interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration
primaryKeyConstraintStatementsForEntityGroup
in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
Copyright © 2002 – 2020 Project Wonder.