buildingList = null;
}
public Object viewToObj(Object obj) {
Building building;
if (obj != null) {
building = (Building) obj;
} else {
building = new Building();
}
Textbox buildingNameTextbox = (Textbox) this.getFellow("buildingNameTextbox");
Textbox buildingZipTextbox = (Textbox) this.getFellow("buildingZipTextbox");
Textbox buildingAddressTextbox = (Textbox) this.getFellow("buildingAddressTextbox");
building.setBuildingName(buildingNameTextbox.getText());
building.setBuildingZip(buildingZipTextbox.getText());
building.setBuildingAddress(buildingAddressTextbox.getText());
building.setOperateBy(operateBy);
return building;
}