public static class _FrontBasePlugIn.FrontbaseSynchronizationFactory
extends com.webobjects.eoaccess.EOSynchronizationFactory
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory.Delegate_adaptorCreateDatabaseKey, CreateIndexesKey, CreatePrimaryKeySupportKey, CreateTablesKey, DropDatabaseKey, DropIndexesKey, DropPrimaryKeySupportKey, DropTablesKey, ForeignKeyConstraintsKey, PrimaryKeyConstraintsKeyAllowsNullKey, 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, tableEntityGroupsForEntitiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendExpressionToScript, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropPrimaryKeySupportStatementsForEntityGroup, newOptions, primaryKeySupportStatementsForEntityGroups, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, setSchemaGenerationDelegatecolumnDescriptionForTableAndModel, 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, tableDescriptionForModelpublic FrontbaseSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor eoadaptor)
public boolean supportsSchemaSynchronization()
supportsSchemaSynchronization in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationsupportsSchemaSynchronization in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic 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.EOSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> schemaCreationStatementsForEntities(NSArray<com.webobjects.eoaccess.EOEntity> entities, NSDictionary<String,String> options)
schemaCreationStatementsForEntities in class com.webobjects.eoaccess.EOSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> dropPrimaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
dropPrimaryKeySupportStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationdropPrimaryKeySupportStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> dropDatabaseStatementsForConnectionDictionary(NSDictionary<String,Object> connectionDictionary, NSDictionary<String,Object> administrativeConnectionDictionary)
dropDatabaseStatementsForConnectionDictionary in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationdropDatabaseStatementsForConnectionDictionary in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> createDatabaseStatementsForConnectionDictionary(NSDictionary<String,Object> connectionDictionary, NSDictionary<String,Object> administrativeConnectionDictionary)
createDatabaseStatementsForConnectionDictionary in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationcreateDatabaseStatementsForConnectionDictionary in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> dropTableStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
dropTableStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationdropTableStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> dropTableStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
dropTableStatementsForEntityGroup in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationdropTableStatementsForEntityGroup in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> primaryKeySupportStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
primaryKeySupportStatementsForEntityGroup in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationprimaryKeySupportStatementsForEntityGroup in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship)
foreignKeyConstraintStatementsForRelationship in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationforeignKeyConstraintStatementsForRelationship in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> createTableStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
createTableStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationcreateTableStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> createTableStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
createTableStatementsForEntityGroup in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationcreateTableStatementsForEntityGroup in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> createIndexStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
createIndexStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationcreateIndexStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> createIndexStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
createIndexStatementsForEntityGroup in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationcreateIndexStatementsForEntityGroup in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic 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.EOSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToModifyColumnNullRule(String columnName, String tableName, boolean allowsNull, NSDictionary<String,String> options)
statementsToModifyColumnNullRule in class com.webobjects.eoaccess.EOSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToDeleteColumnNamed(String columnName, String tableName, NSDictionary<String,String> options)
statementsToDeleteColumnNamed in class com.webobjects.eoaccess.EOSynchronizationFactorypublic String _columnCreationClauseForAttribute(EOAttribute attribute)
_columnCreationClauseForAttribute in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToInsertColumnForAttribute(EOAttribute attribute, NSDictionary<String,String> options)
statementsToInsertColumnForAttribute in class com.webobjects.eoaccess.EOSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameColumnNamed(String columnName, String tableName, String newName, NSDictionary<String,String> options)
statementsToRenameColumnNamed in class com.webobjects.eoaccess.EOSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameTableNamed(String tableName, String newName, NSDictionary<String,String> options)
statementsToRenameTableNamed in class com.webobjects.eoaccess.EOSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> primaryKeyConstraintStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
primaryKeyConstraintStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationprimaryKeyConstraintStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> primaryKeyConstraintStatementsForEntityGroup(NSArray<com.webobjects.eoaccess.EOEntity> entityGroup)
primaryKeyConstraintStatementsForEntityGroup in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationprimaryKeyConstraintStatementsForEntityGroup in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactoryCopyright © 2002 – 2020 Project Wonder.