Java Cart .

Java Cart ItemCategory java

package cart;

//ItemCategory
//author - Lawrence Truett - FluffyCat.com
//date - May 20, 2003 - San Diego, CA
public class ItemCategory {
    private long itemKey;
    private long categoryKey;
    
    public ItemCategory(long itemKeyIn, long categoryKeyIn) {
        setItemKey(itemKeyIn);
        setCategoryKey(categoryKeyIn);

    }
    
    public long getItemKey() {return itemKey;}
    private void setItemKey(long itemKeyIn) {
        this.itemKey = itemKeyIn;
    }
    
    public long getCategoryKey() {return categoryKey;}
    private void setCategoryKey(long categoryKeyIn) {
        this.categoryKey = categoryKeyIn;
    }    
}
To download source right-click here and "Save As...".
Comments
Sign in to be the first to comment on Java Cart ItemCategory java.