. Java Cart . Java Cart ItemCategory java
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;
}
}
download source, use right-click and "Save Target As..." to save with a .java extension.
| Comments |
| Sign In |
| to add the first comment for Java Cart ItemCategory java. |