public boolean buildingstructureDel(int structureId) { // TODO Auto-generated method stub BuildingStructure BS = new BuildingStructure(); BS.setStructureId(structureId); hds.delete(BS); return true; }
public boolean buildingstructureUpdate(int structureId, String structureName) { // TODO Auto-generated method stub BuildingStructure BS = new BuildingStructure(); BS.setStructureId(structureId); BS.setStructureName(structureName); hds.update(BS); return true; }