Examples of DerivedDto2


Examples of org.company.recordshop.service.dto.DerivedDto2

  DerivedDto2 toDto(final Derived source, final Map<Object, Object> translated) {
    if (translated.containsKey((source))) {
      return (DerivedDto2) translated.get(source);
    }
    Assert.notNull(source, "argument [source] may not be null");
    DerivedDto2 result = new DerivedDto2(source.getId(), source
        .getVersion());
    result.setFirst(source.getFirst());
    result.setSecondo(source.isSecondo());
    result.setThird(source.getThird());
    result.setFourth(source.getFourth());
    result.setFifth(source.getFifth());

    translated.put(source, result);

    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.