Andrea Cavalli
10ca07d4c5
Added serialized classes update mechanism and removed the useless initialize method.
24 lines
464 B
Java
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;
|
|
}
|
|
}
|