TblCFG_MBEAN_SCHEDULE.java 3.06 KB
package com.sitech.ismp.coll.basic;

import java.text.ParseException;
import java.util.Date;

public class TblCFG_MBEAN_SCHEDULE {
	public TblCFG_MBEAN_SCHEDULE cfg_mbean_schedule;

	public String OLD_SCHEDULE_ID = null;

	public void setOLD_SCHEDULE_ID(String cSCHEDULE_ID) throws ParseException {
		if (cSCHEDULE_ID == null) {
			cSCHEDULE_ID = "";
		}
		this.OLD_SCHEDULE_ID = cSCHEDULE_ID;
	}

	public String SCHEDULE_ID = null;

	public void setSCHEDULE_ID(String cSCHEDULE_ID) throws ParseException {
		if (cSCHEDULE_ID == null) {
			cSCHEDULE_ID = "";
		}
		this.SCHEDULE_ID = cSCHEDULE_ID;
	}

	public String MBEAN_ID = null;

	public void setMBEAN_ID(String cMBEAN_ID) throws ParseException {
		if (cMBEAN_ID == null) {
			cMBEAN_ID = "";
		}
		this.MBEAN_ID = cMBEAN_ID;
	}

	public String EXEOBJECT = null;

	public void setEXEOBJECT(String cEXEOBJECT) throws ParseException {
		if (cEXEOBJECT == null) {
			cEXEOBJECT = "";
		}
		this.EXEOBJECT = cEXEOBJECT;
	}

	public String CLASSNAME = null;

	public void setCLASSNAME(String cCLASSNAME) throws ParseException {
		if (cCLASSNAME == null) {
			cCLASSNAME = "";
		}
		this.CLASSNAME = cCLASSNAME;
	}

	public String FUNCTION = null;

	public void setFUNCTION(String cFUNCTION) throws ParseException {
		if (cFUNCTION == null) {
			cFUNCTION = "";
		}
		this.FUNCTION = cFUNCTION;
	}

	public int INTERVALS;

	public void setINTERVALS(String cINTERVALS) throws ParseException {
		this.INTERVALS = Integer.parseInt(cINTERVALS);
	}

	public void setINTERVALS(int iINTERVALS) {
		this.INTERVALS = iINTERVALS;
	}

	public int REPEAT_COUNT;

	public void setREPEAT_COUNT(String cREPEAT_COUNT) throws ParseException {
		this.REPEAT_COUNT = Integer.parseInt(cREPEAT_COUNT);
	}

	public void setREPEAT_COUNT(int iREPEAT_COUNT) {
		this.REPEAT_COUNT = iREPEAT_COUNT;
	}

	public Date BEGIN_TIME = null;

	public void setBEGIN_TIME(String cBEGIN_TIME) throws ParseException {
		if (null != cBEGIN_TIME) {
			this.BEGIN_TIME = com.sitech.util.Formater
					.stringToDateTime(cBEGIN_TIME);
		} else {
			this.BEGIN_TIME = new Date();
		}
	}

	public void setBEGIN_TIME(Date dBEGIN_TIME) {
		this.BEGIN_TIME = dBEGIN_TIME;
	}

	public Date END_TIME = null;

	public void setEND_TIME(String cEND_TIME) throws ParseException {
		if (null != cEND_TIME) {
			this.END_TIME = com.sitech.util.Formater
					.stringToDateTime(cEND_TIME);
		} else {
			this.END_TIME = new Date();
		}
	}

	public void setEND_TIME(Date dEND_TIME) {
		this.END_TIME = dEND_TIME;
	}

	public String CRONTABTODO = null;

	public void setCRONTABTODO(String cCRONTABTODO) throws ParseException {
		if (cCRONTABTODO == null) {
			cCRONTABTODO = "";
		}
		this.CRONTABTODO = cCRONTABTODO;
	}

	public String CRONTABNOTDO = null;

	public void setCRONTABNOTDO(String cCRONTABNOTDO) throws ParseException {
		if (cCRONTABNOTDO == null) {
			cCRONTABNOTDO = "";
		}
		this.CRONTABNOTDO = cCRONTABNOTDO;
	}

	public int ENABLED;

	public void setENABLED(String cENABLED) throws ParseException {
		this.ENABLED = Integer.parseInt(cENABLED);
	}

	public void setENABLED(int iENABLED) {
		this.ENABLED = iENABLED;
	}

}