public ims.dtomove.vo.MachineModalityVo buildVo(ims.vo.ValueObjectBeanMap map) {
   ims.dtomove.vo.MachineModalityVo vo = null;
   if (map != null) vo = (ims.dtomove.vo.MachineModalityVo) map.getValueObject(this);
   if (vo == null) {
     vo = new ims.dtomove.vo.MachineModalityVo();
     map.addValueObject(this, vo);
     vo.populate(map, this);
   }
   return vo;
 }
 public void populate(ims.vo.ValueObjectBeanMap map, ims.dtomove.vo.MachineModalityVo vo) {
   this.id = vo.getBoId();
   this.version = vo.getBoVersion();
   this.modalitytype = vo.getModalityType();
   this.energy = vo.getEnergy();
   this.energyunit = vo.getEnergyUnit();
   this.enddate =
       vo.getEndDate() == null
           ? null
           : (ims.framework.utils.beans.DateBean) vo.getEndDate().getBean();
   this.active = vo.getActive();
 }