コード例 #1
0
 public AdapterPoint marshal(Point val) throws Exception {
   AdapterPoint pointAdapter = new AdapterPoint();
   pointAdapter.setColumn(val.getColumn());
   pointAdapter.setRow(val.getRow());
   return pointAdapter;
 }
コード例 #2
0
 public Point unmarshal(AdapterPoint val) throws Exception {
   return new Point(val.getColumn(), val.getRow());
 }