View Javadoc
1   package org.kuali.ole.deliver.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   import java.sql.Date;
6   
7   /**
8    * Created with IntelliJ IDEA.
9    * User: ?
10   * Date: 12/26/12
11   * Time: 8:11 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class OleFixedDateTimeSpan extends PersistableBusinessObjectBase {
15  
16      private String OleFixedDateTimeSpanId;
17      private OleFixedDueDate oleFixedDueDate;
18      private String fixedDueDateId;
19      private Date fixedDueDate;
20      private Date fromDueDate;
21      private Date toDueDate;
22      private String timeSpan;
23  
24      public OleFixedDueDate getOleFixedDueDate() {
25          return oleFixedDueDate;
26      }
27  
28      public void setOleFixedDueDate(OleFixedDueDate oleFixedDueDate) {
29          this.oleFixedDueDate = oleFixedDueDate;
30      }
31  
32      public String getFixedDueDateId() {
33          return fixedDueDateId;
34      }
35  
36      public void setFixedDueDateId(String fixedDueDateId) {
37          this.fixedDueDateId = fixedDueDateId;
38      }
39  
40      public String getOleFixedDateTimeSpanId() {
41          return OleFixedDateTimeSpanId;
42      }
43  
44      public void setOleFixedDateTimeSpanId(String oleFixedDateTimeSpanId) {
45          OleFixedDateTimeSpanId = oleFixedDateTimeSpanId;
46      }
47  
48      public Date getFixedDueDate() {
49          return fixedDueDate;
50      }
51  
52      public void setFixedDueDate(Date fixedDueDate) {
53          this.fixedDueDate = fixedDueDate;
54      }
55  
56      public Date getFromDueDate() {
57          return fromDueDate;
58      }
59  
60      public void setFromDueDate(Date fromDueDate) {
61          this.fromDueDate = fromDueDate;
62      }
63  
64      public Date getToDueDate() {
65          return toDueDate;
66      }
67  
68      public void setToDueDate(Date toDueDate) {
69          this.toDueDate = toDueDate;
70      }
71  
72      public String getTimeSpan() {
73          return getFromDueDate() + "-" + getToDueDate();
74      }
75  
76      public void setTimeSpan(String timeSpan) {
77          this.timeSpan = timeSpan;
78      }
79  }