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