30 lines
601 B
Java
30 lines
601 B
Java
package org.warp.jcwdb.utils;
|
|
|
|
import org.warp.cowdb.Database;
|
|
import org.warp.cowdb.EnhancedObject;
|
|
import org.warp.jcwdb.ann.DBDataType;
|
|
import org.warp.jcwdb.ann.DBField;
|
|
import org.warp.jcwdb.ann.DBObject;
|
|
import org.warp.jcwdb.ann.JCWDatabase;
|
|
|
|
import java.io.IOException;
|
|
|
|
public class NSimplestClass extends EnhancedObject {
|
|
|
|
@DBField(id = 0, type = DBDataType.BOOLEAN)
|
|
public boolean field1;
|
|
|
|
public NSimplestClass() {
|
|
|
|
}
|
|
|
|
public NSimplestClass(Database database) throws IOException {
|
|
super(database);
|
|
}
|
|
|
|
@Override
|
|
public void initialize() throws IOException {
|
|
field1 = true;
|
|
}
|
|
}
|