org.qi4j.migration.operation
Class RenameManyAssociation
java.lang.Object
org.qi4j.migration.operation.RenameManyAssociation
- All Implemented Interfaces:
- EntityMigrationOperation
public class RenameManyAssociation
- extends java.lang.Object
- implements EntityMigrationOperation
Rename a ManyAssociation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RenameManyAssociation
public RenameManyAssociation(java.lang.String from,
java.lang.String to)
upgrade
public boolean upgrade(org.json.JSONObject state,
StateStore stateStore,
Migrator migrator)
throws org.json.JSONException
- Specified by:
upgrade
in interface EntityMigrationOperation
- Throws:
org.json.JSONException
downgrade
public boolean downgrade(org.json.JSONObject state,
StateStore stateStore,
Migrator migrator)
throws org.json.JSONException
- Specified by:
downgrade
in interface EntityMigrationOperation
- Throws:
org.json.JSONException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object