import java.io.*; /** this class defines the object to be manipulated and the query */ public class CoreMessage implements Serializable { public int obj_id; public String query; public int operation; public CoreMessage( ) { } public CoreMessage(int obj_id,String query, int operation ) { this.obj_id = obj_id; this.query = query; this.operation = operation ; } public int getObjId() { return this.obj_id; } public void setObjId(int obj_id) { this.obj_id = obj_id; } public String getQuery() { return this.query; } public void setQuery(String query) { this.query = query; } public int getType() { return this.operation; } public void setType(int operation) { this.operation = operation ; } }