001 package org.kuali.ole.deliver.fixedduedate.bo;
002
003 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
004
005 import java.sql.Date;
006
007 /**
008 * Created with IntelliJ IDEA.
009 * User: ?
010 * Date: 12/26/12
011 * Time: 8:11 PM
012 * To change this template use File | Settings | File Templates.
013 */
014 public class OleFixedDateTimeSpan extends PersistableBusinessObjectBase {
015
016 private String OleFixedDateTimeSpanId;
017 private OleFixedDueDate oleFixedDueDate;
018 private String fixedDueDateId;
019 private Date fixedDueDate;
020 private Date fromDueDate;
021 private Date toDueDate;
022 private String timeSpan;
023
024 public OleFixedDueDate getOleFixedDueDate() {
025 return oleFixedDueDate;
026 }
027
028 public void setOleFixedDueDate(OleFixedDueDate oleFixedDueDate) {
029 this.oleFixedDueDate = oleFixedDueDate;
030 }
031
032 public String getFixedDueDateId() {
033 return fixedDueDateId;
034 }
035
036 public void setFixedDueDateId(String fixedDueDateId) {
037 this.fixedDueDateId = fixedDueDateId;
038 }
039
040 public String getOleFixedDateTimeSpanId() {
041 return OleFixedDateTimeSpanId;
042 }
043
044 public void setOleFixedDateTimeSpanId(String oleFixedDateTimeSpanId) {
045 OleFixedDateTimeSpanId = oleFixedDateTimeSpanId;
046 }
047
048 public Date getFixedDueDate() {
049 return fixedDueDate;
050 }
051
052 public void setFixedDueDate(Date fixedDueDate) {
053 this.fixedDueDate = fixedDueDate;
054 }
055
056 public Date getFromDueDate() {
057 return fromDueDate;
058 }
059
060 public void setFromDueDate(Date fromDueDate) {
061 this.fromDueDate = fromDueDate;
062 }
063
064 public Date getToDueDate() {
065 return toDueDate;
066 }
067
068 public void setToDueDate(Date toDueDate) {
069 this.toDueDate = toDueDate;
070 }
071
072 public String getTimeSpan() {
073 return getFromDueDate() +"-"+getToDueDate();
074 }
075
076 public void setTimeSpan(String timeSpan) {
077 this.timeSpan = timeSpan;
078 }
079 }