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:56 PM
11   * To change this template use File | Settings | File Templates.
12   */
13  public class LineItemOrder {
14      private List<LineItem> lineItem = new ArrayList<LineItem>();
15      private List<ProductFunction> productFunction = new ArrayList<ProductFunction>();
16      private List<ItemDescription> itemDescriptionList = new ArrayList<ItemDescription>();
17      private List<QuantityInformation> quantityInformation = new ArrayList<QuantityInformation>();
18      private List<PriceInformation> priceInformation = new ArrayList<PriceInformation>();
19      private List<BuyerReferenceInformation> buyerReferenceInformation = new ArrayList<BuyerReferenceInformation>();
20      private List<SupplierReferenceInformation> supplierReferenceInformation = new ArrayList<SupplierReferenceInformation>();
21      private List<FundNumberReference> fundNumberReference = new ArrayList<FundNumberReference>();
22      private List<FreeTextNotes> note = new ArrayList<FreeTextNotes>();
23      private List<TransportStageQualifier> transportStageQualifier = new ArrayList<TransportStageQualifier>();
24      private List<DateTimeDetail> dateTimeDetail = new ArrayList<>();
25      private List<MonetaryDetail> monetaryDetail = new ArrayList<>();
26      private List<LineItemAllowanceOrCharge> lineItemAllowanceOrCharge = new ArrayList<>();
27      private List<AllowanceMonetaryDetail> allowanceMonetaryDetail = new ArrayList<>();
28  
29  
30      public List<LineItemAllowanceOrCharge> getLineItemAllowanceOrCharge() {
31          return lineItemAllowanceOrCharge;
32      }
33  
34      public void setLineItemAllowanceOrCharge(List<LineItemAllowanceOrCharge> lineItemAllowanceOrCharge) {
35          lineItemAllowanceOrCharge = lineItemAllowanceOrCharge;
36      }
37  
38      public List<AllowanceMonetaryDetail> getAllowanceMonetaryDetail() {
39          return allowanceMonetaryDetail;
40      }
41  
42      public void setAllowanceMonetaryDetail(List<MonetaryDetail> allowanceMonetaryDetail) {
43          allowanceMonetaryDetail = allowanceMonetaryDetail;
44      }
45  
46      public List<FreeTextNotes> getNote() {
47          return note;
48      }
49  
50      public void setNote(List<FreeTextNotes> note) {
51          this.note = note;
52      }
53  
54      public List<ProductFunction> getProductFunction() {
55          return productFunction;
56      }
57  
58      public void setProductFunction(List<ProductFunction> productFunction) {
59          this.productFunction = productFunction;
60      }
61  
62      public List<QuantityInformation> getQuantityInformation() {
63          return quantityInformation;
64      }
65  
66      public void setQuantityInformation(List<QuantityInformation> quantityInformation) {
67          this.quantityInformation = quantityInformation;
68      }
69  
70      public List<PriceInformation> getPriceInformation() {
71          return priceInformation;
72      }
73  
74      public void setPriceInformation(List<PriceInformation> priceInformation) {
75          this.priceInformation = priceInformation;
76      }
77  
78      public List<BuyerReferenceInformation> getBuyerReferenceInformation() {
79          return buyerReferenceInformation;
80      }
81  
82      public void setBuyerReferenceInformation(List<BuyerReferenceInformation> buyerReferenceInformation) {
83          this.buyerReferenceInformation = buyerReferenceInformation;
84      }
85  
86      public List<SupplierReferenceInformation> getSupplierReferenceInformation() {
87          return supplierReferenceInformation;
88      }
89  
90      public void setSupplierReferenceInformation(List<SupplierReferenceInformation> supplierReferenceInformation) {
91          this.supplierReferenceInformation = supplierReferenceInformation;
92      }
93  
94      public List<FundNumberReference> getFundNumberReference() {
95          return fundNumberReference;
96      }
97  
98      public void setFundNumberReference(List<FundNumberReference> fundNumberReference) {
99          this.fundNumberReference = fundNumberReference;
100     }
101 
102     public List<TransportStageQualifier> getTransportStageQualifier() {
103         return transportStageQualifier;
104     }
105 
106     public void setTransportStageQualifier(List<TransportStageQualifier> transportStageQualifier) {
107         this.transportStageQualifier = transportStageQualifier;
108     }
109 
110     public List<DateTimeDetail> getDateTimeDetail() {
111         return dateTimeDetail;
112     }
113 
114     public void setDateTimeDetail(List<DateTimeDetail> dateTimeDetail) {
115         this.dateTimeDetail = dateTimeDetail;
116     }
117 
118     public List<MonetaryDetail> getMonetaryDetail() {
119         return monetaryDetail;
120     }
121 
122     public void setMonetaryDetail(List<MonetaryDetail> monetaryDetail) {
123         this.monetaryDetail = monetaryDetail;
124     }
125 
126     public void addLineItemAllowanceOrCharge(LineItemAllowanceOrCharge lineItemAllowanceOrCharge){
127         if (!this.lineItemAllowanceOrCharge.contains(lineItemAllowanceOrCharge)) {
128              this.lineItemAllowanceOrCharge.add(lineItemAllowanceOrCharge);
129         }
130     }
131 
132     public void addLineItem(AllowanceMonetaryDetail allowanceMonetaryDetail) {
133         if (!this.allowanceMonetaryDetail.contains(allowanceMonetaryDetail)) {
134             this.allowanceMonetaryDetail.add(allowanceMonetaryDetail);
135         }
136     }
137 
138     public void addLineItem(LineItem lineItem) {
139         if (!this.lineItem.contains(lineItem)) {
140             this.lineItem.add(lineItem);
141         }
142     }
143 
144     public void addNote(FreeTextNotes note) {
145         if (!this.note.contains(note)) {
146             this.note.add(note);
147         }
148     }
149 
150     public void addProductFunction(ProductFunction productFunction) {
151         if (!this.productFunction.contains(productFunction)) {
152             this.productFunction.add(productFunction);
153         }
154     }
155 
156     public void addItemDescription(ItemDescription itemDescription) {
157         if (!this.itemDescriptionList.contains(itemDescription)) {
158             this.itemDescriptionList.add(itemDescription);
159         }
160     }
161 
162     public void addQuantityInformation(QuantityInformation quantityInformation) {
163         if (!this.quantityInformation.contains(quantityInformation)) {
164             this.quantityInformation.add(quantityInformation);
165         }
166     }
167 
168     public void addPriceInformation(PriceInformation priceInformation) {
169         if (!this.priceInformation.contains(priceInformation)) {
170             this.priceInformation.add(priceInformation);
171         }
172     }
173 
174     public void addBuyerReferenceInformation(BuyerReferenceInformation buyerReferenceInformation) {
175         if (!this.buyerReferenceInformation.contains(buyerReferenceInformation)) {
176             this.buyerReferenceInformation.add(buyerReferenceInformation);
177         }
178     }
179 
180     public void addSupplierReferenceInformation(SupplierReferenceInformation supplierReferenceInformation) {
181         if (!this.supplierReferenceInformation.contains(supplierReferenceInformation)) {
182             this.supplierReferenceInformation.add(supplierReferenceInformation);
183         }
184     }
185 
186     public void addFundNumberReference(FundNumberReference fundNumberReference) {
187         if (!this.fundNumberReference.contains(fundNumberReference)) {
188             this.fundNumberReference.add(fundNumberReference);
189         }
190     }
191 
192     public void addTransportStageQualifier(TransportStageQualifier transportStageQualifier) {
193         if (!this.transportStageQualifier.contains(transportStageQualifier)) {
194             this.transportStageQualifier.add(transportStageQualifier);
195         }
196     }
197 
198     public void addDateTimeDetail(DateTimeDetail dateTimeDetail) {
199         if (!this.dateTimeDetail.contains(dateTimeDetail)) {
200             this.dateTimeDetail.add(dateTimeDetail);
201         }
202     }
203 
204 
205     public void addMonetaryDetail(MonetaryDetail monetaryDetail) {
206         if (!this.monetaryDetail.contains(monetaryDetail)) {
207             this.monetaryDetail.add(monetaryDetail);
208         }
209     }
210 
211     public List<LineItem> getLineItem() {
212         return lineItem;
213     }
214 
215     public void setLineItem(List<LineItem> lineItem) {
216         this.lineItem = lineItem;
217     }
218 
219     public List<ItemDescription> getItemDescriptionList() {
220         return itemDescriptionList;
221     }
222 
223     public void setItemDescriptionList(List<ItemDescription> itemDescriptionList) {
224         this.itemDescriptionList = itemDescriptionList;
225     }
226 
227 
228 }