Exemplo n.º 1
0
 @ExtDirectMethod
 public FormInfo method8(double d) {
   FormInfo info = new FormInfo();
   info.setBack(d);
   info.setAdmin(false);
   info.setAge(32);
   info.setBirthday(new GregorianCalendar(1986, Calendar.JULY, 22).getTime());
   info.setName("John");
   info.setSalary(new BigDecimal("8720.20"));
   return info;
 }
 @ExtDirectMethod(value = ExtDirectMethodType.SIMPLE_NAMED, group = "named")
 public FormInfo method5(double d) {
   FormInfo info = new FormInfo();
   info.setBack(d);
   info.setAdmin(false);
   info.setAge(32);
   info.setBirthday(new GregorianCalendar(1986, Calendar.JULY, 22).getTime());
   info.setName("John");
   info.setSalary(new BigDecimal("8720.20"));
   return info;
 }