Ejemplo n.º 1
0
  public static EarnCodeGroupBo from(EarnCodeGroup im) {
    if (im == null) {
      return null;
    }
    EarnCodeGroupBo ecg = new EarnCodeGroupBo();
    ecg.setHrEarnCodeGroupId(im.getHrEarnCodeGroupId());
    ecg.setEarnCodeGroup(im.getEarnCodeGroup());
    ecg.setDescr(im.getDescr());
    ecg.setWarningText(im.getWarningText());

    ecg.setEarnCodeGroups(
        ModelObjectUtils.transform(
            im.getEarnCodeGroups(), EarnCodeGroupDefinitionBo.toEarnCodeGroupDefinitionBo));
    copyCommonFields(ecg, im);

    return ecg;
  }
Ejemplo n.º 2
0
 public EarnCodeGroupBo transform(EarnCodeGroup input) {
   return EarnCodeGroupBo.from(input);
 };
Ejemplo n.º 3
0
 public EarnCodeGroup transform(EarnCodeGroupBo input) {
   return EarnCodeGroupBo.to(input);
 };