strangedb/src/test/java/org/warp/jcwdb/utils/NSimplestClass.java
Andrea Cavalli 10ca07d4c5 Serialized classes update mechanism
Added serialized classes update mechanism and removed the useless initialize method.
2019-02-09 14:23:18 +01:00

24 lines
464 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 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);
field1 = true;
}
}