. Java Cart ItemSizeColor java

Java Cart ItemSizeColor java

package cart;

//ItemSizeColor - the size and color for an item
//author - Lawrence Truett - FluffyCat.com
//date - August 7, 2003 - San Diego, CA
public class ItemSizeColor {
    private long itemKey;
    private String size;
    private String color;
    
    public ItemSizeColor(long itemKeyIn, String sizeIn, String colorIn) {
        setItemKey(itemKeyIn);
        setSize(sizeIn);        
        setColor(colorIn);
    }
    
    public long getItemKey() {return itemKey;}
    private void setItemKey(long itemKeyIn) {this.itemKey = itemKeyIn;}
    
    public String getColor() {return color;}
    void setColor(String colorIn) {color = colorIn;}
    
    public String getSize() {return size;}
    void setSize(String sizeIn) {size = sizeIn;}        
}
download source, use right-click and "Save Target As..." to save with a .java extension.
Sign In
to add your own comment
Comment by Larry Rate this Comment

stayfun,

Good catch, somehow I missed that ItemSizeColor was missing.

Thanks!

Comment by staylust Rate this Comment

is there any one who could send me the content of this class???
send it to my mail: stayfun_cruze@yahoo.com
thanks.. :-)