001package org.kuali.ole.deliver.bo;
002
003import org.kuali.ole.batch.bo.OLEBatchProcessScheduleBo;
004import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
005
006/**
007 * Created with IntelliJ IDEA.
008 * User: ?
009 * Date: 3/1/13
010 * Time: 12:28 PM
011 * To change this template use File | Settings | File Templates.
012 */
013public class OleBatchJobBo extends PersistableBusinessObjectBase {
014    private String jobId;
015    private String jobTriggerName;
016    private String jobCronExpression;
017    private boolean jobEnableStatus;
018    private String pickupLocation;
019
020    private boolean scheduleFlag;
021    private boolean rescheduleFlag = true;
022    private String runNowOrSchedule;
023    private String cronOrSchedule;
024    private String enteredCronExp;
025    private String oneTimeOrRecurring;
026    private String scheduleType;
027    private boolean runNowFlag = false;
028    private OLEBatchProcessScheduleBo oleBatchProcessScheduleBo;
029
030    public String getJobId() {
031        return jobId;
032    }
033
034    public void setJobId(String jobId) {
035        this.jobId = jobId;
036    }
037
038    public String getJobCronExpression() {
039        return jobCronExpression;
040    }
041
042    public void setJobCronExpression(String jobCronExpression) {
043        this.jobCronExpression = jobCronExpression;
044    }
045
046    public boolean isJobEnableStatus() {
047        return jobEnableStatus;
048    }
049
050    public void setJobEnableStatus(boolean jobEnableStatus) {
051        this.jobEnableStatus = jobEnableStatus;
052    }
053
054
055    public String getJobTriggerName() {
056        return jobTriggerName;
057    }
058
059    public void setJobTriggerName(String jobTriggerName) {
060        this.jobTriggerName = jobTriggerName;
061    }
062
063    public boolean isScheduleFlag() {
064        return scheduleFlag;
065    }
066
067    public void setScheduleFlag(boolean scheduleFlag) {
068        this.scheduleFlag = scheduleFlag;
069    }
070
071    public boolean isRescheduleFlag() {
072        return rescheduleFlag;
073    }
074
075    public void setRescheduleFlag(boolean rescheduleFlag) {
076        this.rescheduleFlag = rescheduleFlag;
077    }
078
079    public String getRunNowOrSchedule() {
080        return runNowOrSchedule;
081    }
082
083    public void setRunNowOrSchedule(String runNowOrSchedule) {
084        this.runNowOrSchedule = runNowOrSchedule;
085    }
086
087    public String getCronOrSchedule() {
088        return cronOrSchedule;
089    }
090
091    public void setCronOrSchedule(String cronOrSchedule) {
092        this.cronOrSchedule = cronOrSchedule;
093    }
094
095    public String getEnteredCronExp() {
096        return enteredCronExp;
097    }
098
099    public void setEnteredCronExp(String enteredCronExp) {
100        this.enteredCronExp = enteredCronExp;
101    }
102
103    public String getOneTimeOrRecurring() {
104        return oneTimeOrRecurring;
105    }
106
107    public void setOneTimeOrRecurring(String oneTimeOrRecurring) {
108        this.oneTimeOrRecurring = oneTimeOrRecurring;
109    }
110
111    public String getScheduleType() {
112        return scheduleType;
113    }
114
115    public void setScheduleType(String scheduleType) {
116        this.scheduleType = scheduleType;
117    }
118
119    public boolean isRunNowFlag() {
120        return runNowFlag;
121    }
122
123    public void setRunNowFlag(boolean runNowFlag) {
124        this.runNowFlag = runNowFlag;
125    }
126
127    public OLEBatchProcessScheduleBo getOleBatchProcessScheduleBo() {
128        return oleBatchProcessScheduleBo;
129    }
130
131    public void setOleBatchProcessScheduleBo(OLEBatchProcessScheduleBo oleBatchProcessScheduleBo) {
132        this.oleBatchProcessScheduleBo = oleBatchProcessScheduleBo;
133    }
134
135    public String getPickupLocation() {
136        return pickupLocation;
137    }
138
139    public void setPickupLocation(String pickupLocation) {
140        this.pickupLocation = pickupLocation;
141    }
142}