org.qi4j.migration.operation
Class RemoveManyAssociation
java.lang.Object
org.qi4j.migration.operation.RemoveManyAssociation
- All Implemented Interfaces:
- EntityMigrationOperation
public class RemoveManyAssociation
- extends Object
- implements EntityMigrationOperation
Add a many-association
RemoveManyAssociation
public RemoveManyAssociation(String association,
String... defaultReferences)
upgrade
public boolean upgrade(JSONObject state,
StateStore stateStore,
Migrator migrator)
throws JSONException
- Specified by:
upgrade
in interface EntityMigrationOperation
- Throws:
JSONException
downgrade
public boolean downgrade(JSONObject state,
StateStore stateStore,
Migrator migrator)
throws JSONException
- Specified by:
downgrade
in interface EntityMigrationOperation
- Throws:
JSONException
toString
public String toString()
- Overrides:
toString
in class Object