📄 articleform.java
字号:
/**
* Copyright (C) 2003-2006 TiandiNet.com
*
* Struts 文章系统 1.1
*
* release-date: 2006-02-25
*/
package com.tiandinet.StrutsArticle.FormBeans;
import javax.servlet.http.*;
import org.apache.struts.action.*;
/**
* @author Meng Yang
* @version 1.1
*/
public class ArticleForm
extends ActionForm
{
private String author;
private String classId;
private String className;
private String content;
private String from;
private int id;
private int read;
private int show;
private String time;
private String title;
public String getAuthor()
{
return author;
}
public void setAuthor(String author)
{
this.author = author;
}
public String getClassId()
{
return classId;
}
public void setClassId(String classId)
{
this.classId = classId;
}
public String getClassName()
{
return className;
}
public void setClassName(String className)
{
this.className = className;
}
public String getContent()
{
return content;
}
public void setContent(String content)
{
this.content = content;
}
public String getFrom()
{
return from;
}
public void setFrom(String from)
{
this.from = from;
}
public int getId()
{
return id;
}
public void setId(int id)
{
this.id = id;
}
public int getRead()
{
return read;
}
public void setRead(int read)
{
this.read = read;
}
public int getShow()
{
return show;
}
public void setShow(int show)
{
this.show = show;
}
public String getTime()
{
return time;
}
public void setTime(String time)
{
this.time = time;
}
public String getTitle()
{
return title;
}
public void setTitle(String title)
{
this.title = title;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest)
{
/**@todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest httpServletRequest)
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -