import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
public class modifyForm extends ActionForm implements ModelInterface {
private String feild1;
private String feild10;
private String feild11;
private String feild12;
private String feild13;
private String feild14;
private String feild2;
private String feild3;
private String feild4;
private String feild5;
private String feild6;
private String feild7;
private String feild8;
private String feild9;
public String getFeild1() {
return feild1;
}
public void setFeild1(String feild1) {
this.feild1 = feild1;
}
public String getFeild10() {
return feild10;
}
public void setFeild10(String feild10) {
this.feild10 = feild10;
}
public String getFeild11() {
return feild11;
}
public void setFeild11(String feild11) {
this.feild11 = feild11;
}
public String getFeild12() {
return feild12;
}
public void setFeild12(String feild12) {
this.feild12 = feild12;
}
public String getFeild13() {
return feild13;
}
public void setFeild13(String feild13) {
this.feild13 = feild13;
}
public String getFeild14() {
return feild14;
}
public void setFeild14(String feild14) {
this.feild14 = feild14;
}
public String getFeild2() {
return feild2;
}
public void setFeild2(String feild2) {
this.feild2 = feild2;
}
public String getFeild3() {
return feild3;
}
public void setFeild3(String feild3) {
this.feild3 = feild3;
}
public String getFeild4() {
return feild4;
}
public void setFeild4(String feild4) {
this.feild4 = feild4;
}
public String getFeild5() {
return feild5;
}
public void setFeild5(String feild5) {
this.feild5 = feild5;
}
public String getFeild6() {
return feild6;
}
public void setFeild6(String feild6) {
this.feild6 = feild6;
}
public String getFeild7() {
return feild7;
}
public void setFeild7(String feild7) {
this.feild7 = feild7;
}
public String getFeild8() {
return feild8;
}
public void setFeild8(String feild8) {
this.feild8 = feild8;
}
public String getFeild9() {
return feild9;
}
public void setFeild9(String feild9) {
this.feild9 = feild9;
}
public String getValuesClause() {
String values = " values('" + this.feild1 + "','" + this.feild2 + "','" +
this.feild3
+ "','" + this.feild4 + "','" + this.feild5 + "','" +
this.feild6 +
"','" + this.feild7
+ "','" + this.feild8 + "','" + this.feild9 + "','" +
this.feild10 +
"','" + this.feild11 + "','"
+ this.feild12 + "','" + this.feild13 + "','" +
this.feild14 + "')";
return values;
}
public String getSetClause() {
String setCluase = " set TraderCode='" + this.feild1 + "',TraderName='" +
this.feild2
+ "',ProtocolCode='" + this.feild3 + "',SeverMode='" +
this.feild4 +
"',Ip='" + this.feild5
+ "',Port='" + this.feild6 + "',Spid='" +
this.feild7 + "' , Spcode='" +
this.feild8 + "' , Secret='" + this.feild9 +
"',Service='" +
this.feild10 + "', PayCode='" + this.feild11 +
"' , TraCode='" +
this.feild12 + "' , UserName='" + this.feild13 +
"' , Password='" +
this.feild14 + "'";
return setCluase;
}