View Javadoc
1   package org.kuali.ole.pojo.edi;
2   
3   import org.kuali.ole.pojo.edi.ItemPrice;
4   
5   import java.util.ArrayList;
6   import java.util.List;
7   
8   /**
9    * Created by IntelliJ IDEA.
10   * User: palanivel
11   * Date: 3/6/12
12   * Time: 4:38 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public class PriceInformation {
16      private List<ItemPrice> itemPrice = new ArrayList<ItemPrice>();
17  
18      public void addPrice(ItemPrice itemPrice) {
19          if (!this.itemPrice.contains(itemPrice)) {
20              this.itemPrice.add(itemPrice);
21          }
22      }
23  
24      public List<ItemPrice> getItemPrice() {
25          return itemPrice;
26      }
27  
28      public void setItemPrice(List<ItemPrice> itemPrice) {
29          this.itemPrice = itemPrice;
30      }
31  }