public ims.core.vo.PDSConvVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.PDSConvVo vo = null; if (map != null) vo = (ims.core.vo.PDSConvVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.PDSConvVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.PDSConvVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.cid = vo.getCid() == null ? null : new ims.vo.RefVoBean(vo.getCid().getBoId(), vo.getCid().getBoVersion()); this.current = vo.getCurrent() == null ? null : new ims.vo.RefVoBean(vo.getCurrent().getBoId(), vo.getCurrent().getBoVersion()); if (vo.getPoints() != null) { this.points = new ims.vo.RefVoBean[vo.getPoints().size()]; for (int points_i = 0; points_i < vo.getPoints().size(); points_i++) { this.points[points_i] = new ims.vo.RefVoBean( vo.getPoints().get(points_i).getBoId(), vo.getPoints().get(points_i).getBoVersion()); } } if (vo.getMsgUids() != null) { this.msguids = new ims.vo.RefVoBean[vo.getMsgUids().size()]; for (int msguids_i = 0; msguids_i < vo.getMsgUids().size(); msguids_i++) { this.msguids[msguids_i] = new ims.vo.RefVoBean( vo.getMsgUids().get(msguids_i).getBoId(), vo.getMsgUids().get(msguids_i).getBoVersion()); } } this.dummy = vo.getDummy(); }