Refactor - repackage / move test code only

This commit is contained in:
Rob Bygrave
2017-05-01 20:39:49 +12:00
parent 9f2334362a
commit 67ef0cd5d9
62 changed files with 81 additions and 90 deletions
@@ -0,0 +1,20 @@
package org.tests.example;
import io.ebean.config.IdGenerator;
import org.avaje.moduuid.ModUUID;
/**
* A customer Id Generator that can be assigned by @GeneratedValue(generator="shortUid")
*/
public class ModUuidGenerator implements IdGenerator {
@Override
public Object nextValue() {
return ModUUID.newShortId();
}
@Override
public String getName() {
return "shortUid";
}
}