public void setName(String name) {
   params.name = name;
 }
 public void setType(int type) {
   params.type = type;
 }