KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > webwork > example > ajax > actions > ShowCatalog


1 /*
2  * Copyright (c) 2005 Your Corporation. All Rights Reserved.
3  */

4 package com.opensymphony.webwork.example.ajax.actions;
5
6 import com.opensymphony.webwork.example.ajax.catalog.Catalog;
7 import com.opensymphony.webwork.example.ajax.catalog.CatalogAware;
8 import com.opensymphony.xwork.ActionSupport;
9
10 /**
11  * ShowCatalog
12  *
13  * @author Jason Carreira <jcarreira@eplus.com>
14  */

15 public class ShowCatalog extends ActionSupport implements CatalogAware {
16     protected Catalog catalog;
17
18     public void setCatalog(Catalog catalog) {
19         this.catalog = catalog;
20     }
21
22     public Catalog getCatalog() {
23         return catalog;
24     }
25 }
26
Popular Tags