📄 calendarform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.oa.personaloffice.form;
import java.sql.Date;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts Creation date: 08-21-2007
*
* XDoclet definition:
*
* @struts.form name="calendarForm"
*/
public class CalendarForm extends ActionForm {
/*
* Generated fields
*/
private int id;
/** topic property */
private String realname;
private String topic;
private String post;
private Date adddate;
private String department;
/** describer property */
private String describer;
/** importantleve property */
private String importantleve;
/** starttime property */
private String starttime;
/** estate property */
private String estate;
/** awork property */
private String awork;
private String[] chkpla;
/*
* Generated Methods
*/
public String[] getChkpla() {
return chkpla;
}
public void setChkpla(String[] chkpla) {
this.chkpla = chkpla;
}
/**
* Method validate
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
*
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
awork = "提醒";
importantleve = "重要";
}
/**
* Returns the topic.
*
* @return String
*/
public String getTopic() {
return topic;
}
/**
* Set the topic.
*
* @param topic
* The topic to set
*/
public void setTopic(String topic) {
this.topic = topic;
}
/**
* Returns the describer.
*
* @return String
*/
public String getDescriber() {
return describer;
}
/**
* Set the describer.
*
* @param describer
* The describer to set
*/
public void setDescriber(String describer) {
this.describer = describer;
}
/**
* Returns the importantleve.
*
* @return String
*/
public String getImportantleve() {
return importantleve;
}
/**
* Set the importantleve.
*
* @param importantleve
* The importantleve to set
*/
public void setImportantleve(String importantleve) {
this.importantleve = importantleve;
}
/**
* Returns the starttime.
*
* @return Date
*/
public String getStarttime() {
return starttime;
}
/**
* Set the starttime.
*
* @param starttime
* The starttime to set
*/
public void setStarttime(String starttime) {
this.starttime = starttime;
}
/**
* Returns the estate.
*
* @return String
*/
public String getEstate() {
return estate;
}
/**
* Set the estate.
*
* @param estate
* The estate to set
*/
public void setEstate(String estate) {
this.estate = estate;
}
/**
* Returns the awork.
*
* @return String
*/
public String getAwork() {
return awork;
}
/**
* Set the awork.
*
* @param awork
* The awork to set
*/
public void setAwork(String awork) {
this.awork = awork;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getRealname() {
return realname;
}
public void setRealname(String realname) {
this.realname = realname;
}
public Date getAdddate() {
return adddate;
}
public void setAdddate(Date adddate) {
this.adddate = adddate;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public String getPost() {
return post;
}
public void setPost(String post) {
this.post = post;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -