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