Package org.company.recordshop.service.dto

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


      final Map<Object, Object> translated) {
    if (translated.containsKey((source))) {
      return (OrderlineWithRecordRefsDto) translated.get(source);
    }
    Assert.notNull(source, "argument [source] may not be null");
    OrderlineWithRecordRefsDto result = new OrderlineWithRecordRefsDto(
        source.getId(), source.getVersion());
    result.setLineNumber(source.getLineNumber());
    result.setDescription(source.getDescription());
    result.setLineAmount(source.getLineAmount());

    translated.put(source, result);

    if (source.getProduct() != null) {
      result.setProduct(fullProductDtoTranslator.toDto(source
          .getProduct(), translated));
    }

    return result;
  }
View Full Code Here

TOP

Related Classes of org.company.recordshop.service.dto.OrderlineWithRecordRefsDto

Copyright © 2018 www.massapicom. 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.