public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.LocSiteEdischargeBatchVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.parentorganisation = vo.getParentOrganisation() == null ? null : (ims.core.vo.beans.OrgShortVoBean) vo.getParentOrganisation().getBean(map); }
public LocSiteEdischargeBatchVoBean(ims.core.vo.LocSiteEdischargeBatchVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.parentorganisation = vo.getParentOrganisation() == null ? null : (ims.core.vo.beans.OrgShortVoBean) vo.getParentOrganisation().getBean(); }
public ims.core.vo.LocSiteEdischargeBatchVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.LocSiteEdischargeBatchVo vo = null; if (map != null) vo = (ims.core.vo.LocSiteEdischargeBatchVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.LocSiteEdischargeBatchVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }