01: package com.mockrunner.example.struts;
02:
03: import org.apache.struts.action.ActionForm;
04:
05: /**
06: * The <code>ActionForm</code> for the {@link OrderAction}.
07: */
08: public class OrderForm extends ActionForm {
09: private String id;
10: private int amount;
11:
12: public int getAmount() {
13: return amount;
14: }
15:
16: public String getId() {
17: return id;
18: }
19:
20: public void setAmount(int amount) {
21: this .amount = amount;
22: }
23:
24: public void setId(String id) {
25: this.id = id;
26: }
27: }
|