Ejemplo n.º 1
0
 public String[] buldingbean2StringArray(BuldingBean bean) {
   String[] strings = new String[4];
   strings[0] = bean.getId();
   strings[1] = Double.toString(bean.getArea());
   strings[2] = Double.toString(bean.getBaseElectric());
   strings[3] = Double.toString(bean.getAirElectric());
   return strings;
 }
Ejemplo n.º 2
0
 public double getBuldingArea(BuldingBean buldingBean) {
   // TODO Auto-generated method stub
   return buldingBean.getArea();
 }