Package org.company.recordshop.domain

Examples of org.company.recordshop.domain.OrderLineExample


   * @return {@link OrderLineExample}, the resulting businessclass object.
   */
  public OrderLineExample exampleFromDto(
      final OrderlineWithRecordRefsDto source) {
    Assert.notNull(source, "argument [source] may not be null");
    OrderLineExample result = new OrderLineExample();

    if (source.getLineNumber() != null) {
      result.setLineNumber(source.getLineNumber());
    }
    if (source.getDescription() != null) {
      result.setDescription(source.getDescription());
    }

    return result;
  }
View Full Code Here


   *
   * @return {@link OrderLineExample}, the resulting businessclass object.
   */
  public OrderLineExample exampleFromDto(final OrderLineDto source) {
    Assert.notNull(source, "argument [source] may not be null");
    OrderLineExample result = new OrderLineExample();

    if (source.getLineNumber() != null) {
      result.setLineNumber(source.getLineNumber());
    }
    if (source.getQuantity() != null) {
      result.setQuantity(source.getQuantity());
    }
    if (source.getDescription() != null) {
      result.setDescription(source.getDescription());
    }

    return result;
  }
View Full Code Here

TOP

Related Classes of org.company.recordshop.domain.OrderLineExample

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.