Inherited by Uber2, and Movies2.

Public Member Functions | |
| void | downgrade (EOEditingContext editingContext, ERXMigrationDatabase database) throws Throwable |
| ERTaggableEntity0 (String entityName, String tagsRelationshipName, String tagEntityName) | |
| ERTaggableEntity0 (String entityName, String tagsRelationshipName) | |
| ERTaggableEntity0 (String entityName) | |
| NSArray< ERXModelVersion > | modelDependencies () |
| void | upgrade (EOEditingContext editingContext, ERXMigrationDatabase database) throws Throwable |
Static Public Member Functions | |
| static void | upgrade (EOEditingContext editingContext, EOAdaptorChannel channel, EOModel model, String entityName, String tagsRelationshipName, String tagEntityName) throws SQLException |
| static void | upgrade (EOEditingContext editingContext, EOAdaptorChannel channel, EOModel model, String itemEntityName, String tagsRelationshipName) throws SQLException |
| static void | upgrade (EOEditingContext editingContext, EOAdaptorChannel channel, EOModel model, String itemEntityName) throws SQLException |
Private Attributes | |
| String | _entityName |
| String | _tagEntityName |
| String | _tagsRelationshipName |
| ERTaggableEntity0 | ( | String | entityName | ) |
| ERTaggableEntity0 | ( | String | entityName, | |
| String | tagsRelationshipName | |||
| ) |
Constructs an ERTaggableEntity0.
| entityName | the name of your entity to tag | |
| tagsRelationshipName | the name of the flattened to-many relationship to ERTag (defaults to "tags") |
| ERTaggableEntity0 | ( | String | entityName, | |
| String | tagsRelationshipName, | |||
| String | tagEntityName | |||
| ) |
Constructs an ERTaggableEntity0.
| entityName | the name of your entity to tag | |
| tagsRelationshipName | the name of the flattened to-many relationship to ERTag (defaults to "tags") | |
| tagEntityName | the name of the tag entity (defaults to "ERTag") |
| void downgrade | ( | EOEditingContext | editingContext, | |
| ERXMigrationDatabase | database | |||
| ) | throws Throwable [virtual] |
| editingContext | the editing context | |
| database | the migration database |
| Throwable | if anything goes wrong |
Implements ERXMigrationDatabase.Migration.
| NSArray<ERXModelVersion> modelDependencies | ( | ) |
Overridden to return null by default
Reimplemented from ERXMigrationDatabase.Migration.
| static void upgrade | ( | EOEditingContext | editingContext, | |
| EOAdaptorChannel | channel, | |||
| EOModel | model, | |||
| String | entityName, | |||
| String | tagsRelationshipName, | |||
| String | tagEntityName | |||
| ) | throws SQLException [static] |
If you don't want to subclass ERTaggableEntity0, you can call this static method from your own migration.
| editingContext | the editing context | |
| channel | the adaptor channel | |
| model | the model | |
| entityName | the name of your entity to tag | |
| tagsRelationshipName | the name of the flattened to-many relationship to ERTag (defaults to "tags") | |
| tagEntityName | the name of the tag entity (defaults to "ERTag") |
| SQLException | if the update script fails |
| static void upgrade | ( | EOEditingContext | editingContext, | |
| EOAdaptorChannel | channel, | |||
| EOModel | model, | |||
| String | itemEntityName, | |||
| String | tagsRelationshipName | |||
| ) | throws SQLException [static] |
| static void upgrade | ( | EOEditingContext | editingContext, | |
| EOAdaptorChannel | channel, | |||
| EOModel | model, | |||
| String | itemEntityName | |||
| ) | throws SQLException [static] |
| void upgrade | ( | EOEditingContext | editingContext, | |
| ERXMigrationDatabase | database | |||
| ) | throws Throwable [virtual] |
| editingContext | the editing context | |
| database | the migration database |
| Throwable | if anything goes wrong |
Implements ERXMigrationDatabase.Migration.
String _entityName [private] |
String _tagEntityName [private] |
String _tagsRelationshipName [private] |
1.5.8