/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.accp.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: 09-10-2008
*
* XDoclet definition:
* @struts.form name="updateForm"
*/
public class UpdateForm extends ActionForm {
/*
* Generated fields
*/
/** pet_sex property */
private String pet_sex;
/** pet_name property */
private String pet_name;
/** pet_owner_email property */
private String pet_owner_email;
/** pet_id property */
private int pet_id;
/** pet_pic property */
private String pet_pic;
/** pet_love property */
private int pet_love;
/** pet_cute property */
private int pet_cute;
/** pet_strength property */
private int pet_strength;
/** pet_intro property */
private String pet_intro;
/** pet_tyle property */
private int pet_tyle;
/** pet_owner_name property */
private String pet_owner_name;
/*
* Generated Methods
*/
/**
* 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
*/
/**
* Returns the pet_sex.
* @return String
*/
public String getPet_sex() {
return pet_sex;
}
/**
* Set the pet_sex.
* @param pet_sex The pet_sex to set
*/
public void setPet_sex(String pet_sex) {
this.pet_sex = pet_sex;
}
/**
* Returns the pet_name.
* @return String
*/
public String getPet_name() {
return pet_name;
}
/**
* Set the pet_name.
* @param pet_name The pet_name to set
*/
public void setPet_name(String pet_name) {
this.pet_name = pet_name;
}
/**
* Returns the pet_owner_email.
* @return String
*/
public String getPet_owner_email() {
return pet_owner_email;
}
/**
* Set the pet_owner_email.
* @param pet_owner_email The pet_owner_email to set
*/
public void setPet_owner_email(String pet_owner_email) {
this.pet_owner_email = pet_owner_email;
}
/**
* Returns the pet_id.
* @return String
*/
public int getPet_id() {
return pet_id;
}
/**
* Set the pet_id.
* @param pet_id The pet_id to set
*/
public void setPet_id(int pet_id) {
this.pet_id = pet_id;
}
/**
* Returns the pet_pic.
* @return String
*/
public String getPet_pic() {
return pet_pic;
}
/**
* Set the pet_pic.
* @param pet_pic The pet_pic to set
*/
public void setPet_pic(String pet_pic) {
this.pet_pic = pet_pic;
}
/**
* Returns the pet_love.
* @return String
*/
public int getPet_love() {
return pet_love;
}
/**
* Set the pet_love.
* @param pet_love The pet_love to set
*/
public void setPet_love(int pet_love) {
this.pet_love = pet_love;
}
/**
* Returns the pet_cute.
* @return String
*/
public int getPet_cute() {
return pet_cute;
}
/**
* Set the pet_cute.
* @param pet_cute The pet_cute to set
*/
public void setPet_cute(int pet_cute) {
this.pet_cute = pet_cute;
}
/**
* Returns the pet_strength.
* @return String
*/
public int getPet_strength() {
return pet_strength;
}
/**
* Set the pet_strength.
* @param pet_strength The pet_strength to set
*/
public void setPet_strength(int pet_strength) {
this.pet_strength = pet_strength;
}
/**
* Returns the pet_intro.
* @return String
*/
public String getPet_intro() {
return pet_intro;
}
/**
* Set the pet_intro.
* @param pet_intro The pet_intro to set
*/
public void setPet_intro(String pet_intro) {
this.pet_intro = pet_intro;
}
/**
* Returns the pet_tyle.
* @return String
*/
public int getPet_tyle() {
return pet_tyle;
}
/**
* Set the pet_tyle.
* @param pet_tyle The pet_tyle to set
*/
public void setPet_tyle(int pet_tyle) {
this.pet_tyle = pet_tyle;
}
/**
* Returns the pet_owner_name.
* @return String
*/
public String getPet_owner_name() {
return pet_owner_name;
}
/**
* Set the pet_owner_name.
* @param pet_owner_name The pet_owner_name to set
*/
public void setPet_owner_name(String pet_owner_name) {
this.pet_owner_name = pet_owner_name;
}
}
评论4