@@ -0,0 +1,1367 @@
+/*%0A * %5BNayati%5D ItemCategoory.java%0A *%0A * Defines model class representing an item category.%0A *%0A * (c) 2015 Sanjeev Premi (spremi@ymail.com)%0A *%0A * SPDX-License-Identifier: BSD-3-Clause%0A *                          (http://spdx.org/licenses/BSD-3-Clause.html)%0A *%0A */%0A%0A%0Apackage self.premi.sanjeev.nayati.model;%0A%0A%0A/**%0A * Model class representing an item category.%0A */%0Apublic class ItemCategory %7B%0A    /**%0A     * Id (from database). Else -1.%0A     */%0A    private long id;%0A%0A    /**%0A     * Name of category%0A     */%0A    private String name;%0A%0A    /**%0A     * Symbol associated with the category%0A     */%0A    private String symbol;%0A%0A%0A%0A    public ItemCategory(long id, String name, String s) %7B%0A        this.id = id;%0A        this.name = name;%0A        this.symbol = symbol;%0A    %7D%0A%0A    public ItemCategory(String name, String symbol) %7B%0A        this(-1, name, symbol);%0A    %7D%0A%0A%0A    public long getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(long id) %7B%0A        this.id = id;%0A    %7D%0A%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A%0A    public String getSymbol() %7B%0A        return symbol;%0A    %7D%0A%0A    public void setSymbol(String symbol) %7B%0A        this.symbol = symbol;%0A    %7D%0A%0A%0A    @Override%0A    public String toString() %7B%0A        return %22ItemCategory %5B %22 + id + %22%5D %22 + name + %22, %22 + symbol;%0A    %7D%0A%7D%0A

Define class 'ItemCategory'