View Javadoc
1   package org.kuali.ole.pojo.edi;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   
6   /**
7    * Created by IntelliJ IDEA.
8    * User: palanivel
9    * Date: 3/2/12
10   * Time: 3:25 PM
11   * To change this template use File | Settings | File Templates.
12   */
13  public class EDIOrder {
14      private String seperators;
15      private SenderAndReceiver senderAndReceiver;
16      private MessageHeader messageHeader;
17      private Message message;
18      private List<LineItemOrder> lineItemOrder = new ArrayList<LineItemOrder>();
19      private Summary summary;
20      private Trailer trailer;
21  
22      public void addLineItemOrder(LineItemOrder lineItemOrder) {
23          if (!this.lineItemOrder.contains(lineItemOrder)) {
24              this.lineItemOrder.add(lineItemOrder);
25          }
26      }
27  
28  
29      public String getSeperators() {
30          return seperators;
31      }
32  
33      public void setSeperators(String seperators) {
34          this.seperators = seperators;
35      }
36  
37      public Trailer getTrailer() {
38  
39          return trailer;
40      }
41  
42      public void setTrailer(Trailer trailer) {
43          this.trailer = trailer;
44      }
45  
46      public SenderAndReceiver getSenderAndReceiver() {
47          return senderAndReceiver;
48      }
49  
50      public void setSenderAndReceiver(SenderAndReceiver senderAndReceiver) {
51          this.senderAndReceiver = senderAndReceiver;
52      }
53  
54      public MessageHeader getMessageHeader() {
55          return messageHeader;
56      }
57  
58      public void setMessageHeader(MessageHeader messageHeader) {
59          this.messageHeader = messageHeader;
60      }
61  
62      public Message getMessage() {
63          return message;
64      }
65  
66      public void setMessage(Message message) {
67          this.message = message;
68      }
69  
70      public List<LineItemOrder> getLineItemOrder() {
71          return lineItemOrder;
72      }
73  
74      public void setLineItemOrder(List<LineItemOrder> lineItemOrder) {
75          this.lineItemOrder = lineItemOrder;
76      }
77  
78      public Summary getSummary() {
79          return summary;
80      }
81  
82      public void setSummary(Summary summary) {
83          this.summary = summary;
84      }
85  }