*
* @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;
}