|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface EOSchemaGeneration
EOSchemaGeneration
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.webobjects.eoaccess.synchronization.EOSchemaGeneration |
---|
EOSchemaGeneration.Delegate |
Field Summary | |
---|---|
static String |
CreateDatabaseKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to create a database. |
static String |
CreateIndexesKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to create the indexes. |
static String |
CreatePrimaryKeySupportKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to create primary key support. |
static String |
CreateTablesKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to create tables. |
static String |
DropDatabaseKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to drop a database. |
static String |
DropIndexesKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to drop the indexes. |
static String |
DropPrimaryKeySupportKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to drop primary key support. |
static String |
DropTablesKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to drop tables. |
static String |
ForeignKeyConstraintsKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to create foreign key constraints. |
static String |
PrimaryKeyConstraintsKey
Deprecated. Options dictionary key whose value determines whether the EOSQLExpression should generate SQL to create primary key constraints. |
Method Summary | |
---|---|
String |
schemaCreationScriptForEntities(NSArray allEntities,
NSDictionary options)
Deprecated. Returns a script of SQL statements suitable to create the schema based on options for the EOEntity objects in allEntities . |
NSArray |
schemaCreationStatementsForEntities(NSArray allEntities,
NSDictionary options)
Deprecated. Returns an array of EOSQLExpressions suitable to create the schema based on options for the EOEntity objects in allEntities . |
Field Detail |
---|
static final String CreateTablesKey
static final String DropTablesKey
static final String CreatePrimaryKeySupportKey
static final String DropPrimaryKeySupportKey
static final String PrimaryKeyConstraintsKey
static final String ForeignKeyConstraintsKey
static final String CreateDatabaseKey
static final String DropDatabaseKey
static final String CreateIndexesKey
static final String DropIndexesKey
Method Detail |
---|
String schemaCreationScriptForEntities(NSArray allEntities, NSDictionary options)
options
for the EOEntity objects in allEntities
. Returns an empty string if either options
or allEntities
is empty or null
.
options
is a dictionary whose keys describe possible aspects of a schema and whose respective values of "YES" or "NO" determine whether that schema option is enabled for a particular invocation. The possible option keys are:
CreateTablesKey
DropTablesKey
CreatePrimaryKeySupportKey
DropPrimaryKeySupportKey
PrimaryKeyConstraintsKey
ForeignKeyConstraintsKey
CreateDatabaseKey
DropDatabaseKey
Used in conjunction with appendExpressionToScript
and schemaCreationStatementsForEntities
to build up the SQL script to generate the specified schema for allEntities
.
allEntities
- An array of EOEntity objects.options
- A dictionary describing the schema options for which to generate SQL statements.
allEntities
with the given options
.EOSchemaGeneration.appendExpressionToScript( EOSQLExpression anSQLExpression, StringBuffer script)
,
EOSchemaGeneration.schemaCreationStatementsForEntities( NSArray allEntities, NSDictionary options)
,
EOSchemaSynchronizationFactory#schemaCreationScriptForEntities( NSArray allEntities, NSDictionary options)
NSArray schemaCreationStatementsForEntities(NSArray allEntities, NSDictionary options)
options
for the EOEntity objects in allEntities
. Returns an empty array if either allEntities
or options
is null
or empty.
options
is a dictionary whose keys possible aspects of a schema and whose respective values of "YES" or "NO" determine whether that schema option is enabled for a particular invocation. The possible option keys are:
CreateTablesKey
DropTablesKey
CreatePrimaryKeySupportKey
DropPrimaryKeySupportKey
PrimaryKeyConstraintsKey
ForeignKeyConstraintsKey
CreateDatabaseKey
DropDatabaseKey
Used in conjunction with appendExpressionToScript
and schemaCreationScriptForEntities
to build up the SQL script to generate the specified schema for allEntities
.
allEntities
- An array of EOEntity objects.options
- A dictionary describing the schema options for which to generate SQL statements.
allEntities
with the given options
.EOSchemaGeneration.schemaCreationScriptForEntities( NSArray allEntities, NSDictionary options)
,
EOSchemaGeneration.appendExpressionToScript( EOSQLExpression expression, StringBuffer script)
,
EOSchemaSynchronizationFactory#schemaCreationStatementsForEntities(NSArray allEntities, NSDictionary options)
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |