KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tapestry > pets > domain > model > IBasketItem


1 package org.apache.tapestry.pets.domain.model;
2
3 import java.math.BigDecimal JavaDoc;
4
5 public interface IBasketItem
6 {
7     public void setItemID(String JavaDoc itemID);
8
9     public String JavaDoc getItemID();
10
11     public void setName(String JavaDoc name);
12
13     public String JavaDoc getName();
14
15     public void setQty(int qty);
16
17     public int getQty();
18
19     public void setPrice(BigDecimal JavaDoc price);
20
21     public BigDecimal JavaDoc getPrice();
22
23     public void setTotal(double total);
24
25     public double getTotal();
26
27     public void setInStock(boolean inStock);
28
29     public boolean getInStock();
30 }
31
Popular Tags