org.apache.openejb.jee.Schedule Maven / Gradle / Ivy
The newest version!
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.openejb.jee;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* @version $Rev$ $Date$
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "scheduleType", propOrder = {
"second",
"minute",
"hour",
"dayOfWeek",
"dayOfMonth",
"month",
"year",
"info",
"persistent"
})
public class Schedule {
protected String dayOfMonth;
protected String dayOfWeek;
protected String hour;
protected String info;
protected String minute;
protected String month;
protected Boolean persistent;
protected String second;
protected String year;
public String getDayOfMonth() {
return dayOfMonth;
}
public void setDayOfMonth(String dayOfMonth) {
this.dayOfMonth = dayOfMonth;
}
public String getDayOfWeek() {
return dayOfWeek;
}
public void setDayOfWeek(String dayOfWeek) {
this.dayOfWeek = dayOfWeek;
}
public String getHour() {
return hour;
}
public void setHour(String hour) {
this.hour = hour;
}
public String getInfo() {
return info;
}
public void setInfo(String info) {
this.info = info;
}
public String getMinute() {
return minute;
}
public void setMinute(String minute) {
this.minute = minute;
}
public String getMonth() {
return month;
}
public void setMonth(String month) {
this.month = month;
}
public boolean isPersistent() {
return persistent != null && persistent;
}
public void setPersistent(boolean persistent) {
this.persistent = persistent;
}
public String getSecond() {
return second;
}
public void setSecond(String second) {
this.second = second;
}
public String getYear() {
return year;
}
public void setYear(String year) {
this.year = year;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy