opvoteform.java
来自「一个非常好的投票系统,可以用来参考扩展成商用投票系统」· Java 代码 · 共 117 行
JAVA
117 行
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.vote.struts.form;
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: 01-08-2007
*
* XDoclet definition:
* @struts.form name="opvoteForm"
*/
public class OpvoteForm extends ActionForm {
/*
* Generated fields
*/
/**
*
*/
/** type property */
private String type;
/** title property */
private String title;
/** image property */
private String image;
private String vote_admin_username;
/*
* Generated Methods
*/
public String getVote_admin_username() {
return vote_admin_username;
}
public void setVote_admin_username(String vote_admin_username) {
this.vote_admin_username = vote_admin_username;
}
/**
* 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
}
/**
* Returns the type.
* @return String
*/
public String getType() {
return type;
}
/**
* Set the type.
* @param type The type to set
*/
public void setType(String type) {
this.type = type;
}
/**
* Returns the title.
* @return String
*/
public String getTitle() {
return title;
}
/**
* Set the title.
* @param title The title to set
*/
public void setTitle(String title) {
this.title = title;
}
/**
* Returns the image.
* @return String
*/
public String getImage() {
return image;
}
/**
* Set the image.
* @param image The image to set
*/
public void setImage(String image) {
this.image = image;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?