KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tapestry > pets > domain > model > pojo > Inventory


1 package org.apache.tapestry.pets.domain.model.pojo;
2
3 import java.io.Serializable JavaDoc;
4
5 import org.apache.tapestry.pets.domain.model.IInventory;
6
7 public class Inventory implements IInventory,Serializable JavaDoc
8 {
9     private String JavaDoc itemID;
10     private int qty;
11
12     public String JavaDoc getItemID()
13     {
14         return itemID;
15     }
16
17     public int getQty()
18     {
19         return qty;
20     }
21
22     public void setItemID(String JavaDoc itemID)
23     {
24         this.itemID = itemID;
25     }
26
27     public void setQty(int qty)
28     {
29         this.qty = qty;
30     }
31 }
32
Popular Tags