001package org.kuali.ole.pojo.edi; 002 003import java.util.ArrayList; 004import java.util.List; 005 006/** 007 * Created with IntelliJ IDEA. 008 * User: palanivel 009 * Date: 7/26/13 010 * Time: 2:53 PM 011 * To change this template use File | Settings | File Templates. 012 */ 013public class INVOrder { 014 private MessageHeader messageHeader; 015 private InvoiceMessage message; 016 private List<LineItemOrder> lineItemOrder = new ArrayList<LineItemOrder>(); 017 private Summary summary; 018 private Trailer trailer; 019 020 public void addLineItemOrder(LineItemOrder lineItemOrder) { 021 if (!this.lineItemOrder.contains(lineItemOrder)) { 022 this.lineItemOrder.add(lineItemOrder); 023 } 024 } 025 026 027 public Trailer getTrailer() { 028 029 return trailer; 030 } 031 032 public void setTrailer(Trailer trailer) { 033 this.trailer = trailer; 034 } 035 036 public MessageHeader getMessageHeader() { 037 return messageHeader; 038 } 039 040 public void setMessageHeader(MessageHeader messageHeader) { 041 this.messageHeader = messageHeader; 042 } 043 044 public InvoiceMessage getMessage() { 045 return message; 046 } 047 048 public void setMessage(InvoiceMessage message) { 049 this.message = message; 050 } 051 052 public List<LineItemOrder> getLineItemOrder() { 053 return lineItemOrder; 054 } 055 056 public void setLineItemOrder(List<LineItemOrder> lineItemOrder) { 057 this.lineItemOrder = lineItemOrder; 058 } 059 060 public Summary getSummary() { 061 return summary; 062 } 063 064 public void setSummary(Summary summary) { 065 this.summary = summary; 066 } 067}