
Public Member Functions | |
| String | _columnCreationClauseForAttribute (EOAttribute attribute) |
| NSArray | _foreignKeyConstraintStatementsForEntityGroup (NSArray group) |
| StringBuffer | addCreateClauseForAttribute (EOAttribute eoattribute) |
| String | columnTypeStringForAttribute (EOAttribute attribute) |
| NSArray | createTableStatementsForEntityGroup (NSArray entityGroup) |
| NSArray | dropPrimaryKeySupportStatementsForEntityGroup (NSArray entityGroup) |
| NSArray | dropTableStatementsForEntityGroup (NSArray entityGroup) |
| NSArray | foreignKeyConstraintStatementsForRelationship (EORelationship relationship) |
| PostgresqlSynchronizationFactory (EOAdaptor adaptor) | |
| NSArray | primaryKeyConstraintStatementsForEntityGroup (NSArray entityGroup) |
| NSArray | primaryKeySupportStatementsForEntityGroup (NSArray entityGroup) |
| String | schemaCreationScriptForEntities (NSArray allEntities, NSDictionary options) |
| NSArray | schemaCreationStatementsForEntities (NSArray allEntities, NSDictionary options) |
| NSArray | statementsToConvertColumnType (String columnName, String tableName, ColumnTypes oldType, ColumnTypes newType, NSDictionary options) |
| NSArray | statementsToDeleteColumnNamed (String columnName, String tableName, NSDictionary options) |
| NSArray | statementsToInsertColumnForAttribute (EOAttribute attribute, NSDictionary options) |
| NSArray | statementsToModifyColumnNullRule (String columnName, String tableName, boolean allowsNull, NSDictionary nsdictionary) |
| NSArray | statementsToRenameColumnNamed (String columnName, String tableName, String newName, NSDictionary nsdictionary) |
| NSArray | statementsToRenameTableNamed (String tableName, String newName, NSDictionary options) |
Static Public Member Functions | |
| static boolean | entityUsesSeparateTable (EOEntity entity) |
| static String | replaceStringByStringInString (String old, String newString, String buffer) |
Static Public Attributes | |
| static final String | USING_KEY = "USING" |
Protected Member Functions | |
| boolean | _shouldGenerateForeignKeyConstraints (EORelationship rel) |
| String | externalNameForEntityWithoutSchema (EOEntity entity) |
| String | formatColumnName (String name) |
| String | formatTableName (String name) |
| boolean | isInEntityModeler (EOModel model) |
Private Member Functions | |
| boolean | enableIdentifierQuoting () |
Static Private Member Functions | |
| static PostgresqlExpression | createExpression (EOEntity entity, String statement) |
Private Attributes | |
| Boolean | _enableIdentifierQuoting |
| PostgresqlSynchronizationFactory | ( | EOAdaptor | adaptor | ) |
| String _columnCreationClauseForAttribute | ( | EOAttribute | attribute | ) |
| NSArray _foreignKeyConstraintStatementsForEntityGroup | ( | NSArray | group | ) |
| boolean _shouldGenerateForeignKeyConstraints | ( | EORelationship | rel | ) | [protected] |
| StringBuffer addCreateClauseForAttribute | ( | EOAttribute | eoattribute | ) |
| String columnTypeStringForAttribute | ( | EOAttribute | attribute | ) |
| static PostgresqlExpression createExpression | ( | EOEntity | entity, | |
| String | statement | |||
| ) | [static, private] |
PostgresqlExpression factory method.
| entity | the entity to which PostgresqlExpression is to be rooted | |
| statement | the SQL statement |
PostgresqlExpression rooted to entity | NSArray createTableStatementsForEntityGroup | ( | NSArray | entityGroup | ) |
Quote table name if necessary
| NSArray dropPrimaryKeySupportStatementsForEntityGroup | ( | NSArray | entityGroup | ) |
Generates the PostgreSQL-specific SQL statements to drop the primary key support.
| entityGroup | an array of EOEntity objects |
| NSArray dropTableStatementsForEntityGroup | ( | NSArray | entityGroup | ) |
Generates the PostgreSQL-specific SQL statements to drop tables.
| entityGroup | an array of EOEntity objects |
| boolean enableIdentifierQuoting | ( | ) | [private] |
| static boolean entityUsesSeparateTable | ( | EOEntity | entity | ) | [static] |
| String externalNameForEntityWithoutSchema | ( | EOEntity | entity | ) | [protected] |
| NSArray foreignKeyConstraintStatementsForRelationship | ( | EORelationship | relationship | ) |
Generates the PostgreSQL-specific SQL statements to enforce the foreign key constraints for relationship.
| relationship | the relationship, as represented by EOF |
| boolean isInEntityModeler | ( | EOModel | model | ) | [protected] |
| NSArray primaryKeyConstraintStatementsForEntityGroup | ( | NSArray | entityGroup | ) |
Generates the PostgreSQL-specific SQL statements to enforce primary key constraints.
| entityGroup | an array of EOEntity objects |
| NSArray primaryKeySupportStatementsForEntityGroup | ( | NSArray | entityGroup | ) |
Generates the PostgreSQL-specific SQL statements to create the primary key support.
| entityGroup | an array of EOEntity objects |
| static String replaceStringByStringInString | ( | String | old, | |
| String | newString, | |||
| String | buffer | |||
| ) | [static] |
Replaces a given string by another string in a string.
| old | string to be replaced | |
| newString | to be inserted | |
| buffer | string to have the replacement done on it |
| String schemaCreationScriptForEntities | ( | NSArray | allEntities, | |
| NSDictionary | options | |||
| ) |
| NSArray schemaCreationStatementsForEntities | ( | NSArray | allEntities, | |
| NSDictionary | options | |||
| ) |
| NSArray statementsToConvertColumnType | ( | String | columnName, | |
| String | tableName, | |||
| ColumnTypes | oldType, | |||
| ColumnTypes | newType, | |||
| NSDictionary | options | |||
| ) |
| NSArray statementsToInsertColumnForAttribute | ( | EOAttribute | attribute, | |
| NSDictionary | options | |||
| ) |
| NSArray statementsToModifyColumnNullRule | ( | String | columnName, | |
| String | tableName, | |||
| boolean | allowsNull, | |||
| NSDictionary | nsdictionary | |||
| ) |
| NSArray statementsToRenameColumnNamed | ( | String | columnName, | |
| String | tableName, | |||
| String | newName, | |||
| NSDictionary | nsdictionary | |||
| ) |
Boolean _enableIdentifierQuoting [private] |
1.5.8