Ejemplo n.º 1
0
 public AdapterPoint marshal(Point val) throws Exception {
   AdapterPoint pointAdapter = new AdapterPoint();
   pointAdapter.setColumn(val.getColumn());
   pointAdapter.setRow(val.getRow());
   return pointAdapter;
 }
Ejemplo n.º 2
0
 public Point unmarshal(AdapterPoint val) throws Exception {
   return new Point(val.getColumn(), val.getRow());
 }