strangedb/src/test/java/org/warp/jcwdb/utils/SimplestClass.java

25 lines
406 B
Java
Raw Normal View History

2019-01-22 12:33:58 +01:00
package org.warp.jcwdb.utils;
import org.warp.jcwdb.ann.*;
import java.io.IOException;
public class SimplestClass extends DBObject {
@DBField(id = 0, type = DBDataType.BOOLEAN)
public boolean field1;
public SimplestClass() {
}
public SimplestClass(JCWDatabase database) throws IOException {
2019-01-22 12:33:58 +01:00
super(database);
}
@Override
public void initialize() throws IOException {
field1 = true;
2019-01-22 12:33:58 +01:00
}
}