KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xpetstore > web > struts > action > order > OrderForm


1 package xpetstore.web.struts.action.order;
2
3 import xpetstore.domain.order.ejb.Order;
4
5 import xpetstore.web.struts.action.cart.*;
6
7
8 /**
9  * @author <a HREF="mailto:tchbansi@sourceforge.net">Herve Tchepannou</a>
10  *
11  * @struts.form
12  * name="orderForm"
13  */

14 public class OrderForm
15     extends CartForm
16 {
17    private Order _order = new Order( );
18    
19     public OrderForm()
20     {
21        
22     }
23
24     public Order getOrder( )
25     {
26         return _order;
27     }
28
29     public void setOrder( Order order )
30     {
31         _order = order;
32     }
33 }
34
Popular Tags