|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IdUpgrader
Bag object id upgrader - find old objects in a new ObjectStore.
| Field Summary | |
|---|---|
static IdUpgrader |
ERROR_UPGRADER
An upgrader that always fails. |
| Method Summary | |
|---|---|
boolean |
doUpgrade()
Return true if upgrade should be performed |
java.util.Set<java.lang.Integer> |
getNewIds(InterMineObject oldObject,
ObjectStore os)
For the given object from an old ObjectStore, find the corresponding InterMineObjects in a new ObjectStore. |
| Field Detail |
|---|
static final IdUpgrader ERROR_UPGRADER
| Method Detail |
|---|
java.util.Set<java.lang.Integer> getNewIds(InterMineObject oldObject,
ObjectStore os)
oldObject - the template objectos - ObjectStore used to resolve objects
boolean doUpgrade()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||