public interface Migrator
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAssociation(JSONObject state,
String name,
String defaultReference) |
boolean |
addManyAssociation(JSONObject state,
String name,
String... defaultReferences) |
boolean |
addNamedAssociation(JSONObject state,
String name,
Map<String,String> defaultReferences) |
boolean |
addProperty(JSONObject state,
String name,
Object defaultValue) |
void |
changeEntityType(JSONObject state,
String newEntityType) |
boolean |
removeAssociation(JSONObject state,
String name) |
boolean |
removeManyAssociation(JSONObject state,
String name) |
boolean |
removeNamedAssociation(JSONObject state,
String name) |
boolean |
removeProperty(JSONObject state,
String name) |
boolean |
renameAssociation(JSONObject state,
String from,
String to) |
boolean |
renameManyAssociation(JSONObject state,
String from,
String to) |
boolean |
renameNamedAssociation(JSONObject state,
String from,
String to) |
boolean |
renameProperty(JSONObject state,
String from,
String to) |
boolean addProperty(JSONObject state, String name, Object defaultValue) throws JSONException
JSONExceptionboolean removeProperty(JSONObject state, String name) throws JSONException
JSONExceptionboolean renameProperty(JSONObject state, String from, String to) throws JSONException
JSONExceptionboolean addAssociation(JSONObject state, String name, String defaultReference) throws JSONException
JSONExceptionboolean removeAssociation(JSONObject state, String name) throws JSONException
JSONExceptionboolean renameAssociation(JSONObject state, String from, String to) throws JSONException
JSONExceptionboolean addManyAssociation(JSONObject state, String name, String... defaultReferences) throws JSONException
JSONExceptionboolean removeManyAssociation(JSONObject state, String name) throws JSONException
JSONExceptionboolean renameManyAssociation(JSONObject state, String from, String to) throws JSONException
JSONExceptionboolean addNamedAssociation(JSONObject state, String name, Map<String,String> defaultReferences) throws JSONException
JSONExceptionboolean removeNamedAssociation(JSONObject state, String name) throws JSONException
JSONExceptionboolean renameNamedAssociation(JSONObject state, String from, String to) throws JSONException
JSONExceptionvoid changeEntityType(JSONObject state, String newEntityType) throws JSONException
JSONException