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/6/12
10   * Time: 4:29 PM
11   * To change this template use File | Settings | File Templates.
12   */
13  public class ProductFunction {
14      private String productId;
15      private List<ProductArticleNumber> productArticleNumber = new ArrayList<ProductArticleNumber>();
16  
17      public void addProductArticleNumber(ProductArticleNumber productArticleNumber) {
18          if (!this.productArticleNumber.contains(productArticleNumber)) {
19              this.productArticleNumber.add(productArticleNumber);
20          }
21      }
22  
23  
24      public String getProductId() {
25          return productId;
26      }
27  
28      public void setProductId(String productId) {
29          this.productId = productId;
30      }
31  
32      public List<ProductArticleNumber> getProductArticleNumber() {
33          return productArticleNumber;
34      }
35  
36      public void setProductArticleNumber(List<ProductArticleNumber> productArticleNumber) {
37          this.productArticleNumber = productArticleNumber;
38      }
39  }