/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lmsjap;

/**
 *
 * @author bina
 */
public class Item {

    public Item() {
    }
        protected String Category;
        private int numAvail;

    /**
     * Get the value of Category
     *
     * @return the value of Category
     */
    @Override
        public String toString()
        {
           return (Category + '\n');
        }
        public Item (String c, int num) // another constructor for item
        { Category = c;
          numAvail = num;
        }
        
    public String getCategory() {
        return Category;
    }

    /**
     * Set the value of Category
     *
     * @param Category new value of Category
     */
    public void setCategory(String Category) {
        this.Category = Category;
    }

    public int getNumAvail() {
        return numAvail;
    }

    public void setNumAvail(int numAvail) {
        this.numAvail = numAvail;
    }


}
