public AdapterPoint marshal(Point val) throws Exception { AdapterPoint pointAdapter = new AdapterPoint(); pointAdapter.setColumn(val.getColumn()); pointAdapter.setRow(val.getRow()); return pointAdapter; }
public Point unmarshal(AdapterPoint val) throws Exception { return new Point(val.getColumn(), val.getRow()); }