Class Category

java.lang.Object
org.webtide.demo.auction.Category
All Implemented Interfaces:
Cloneable, Comparable<Category>, org.eclipse.jetty.util.ajax.JSON.Convertible

public class Category extends Object implements Cloneable, Comparable<Category>, org.eclipse.jetty.util.ajax.JSON.Convertible
  • Constructor Details

    • Category

      public Category()
    • Category

      public Category(Integer id, String categoryName, String description)
  • Method Details

    • getCategoryName

      public String getCategoryName()
    • setCategoryName

      public void setCategoryName(String aCategoryName)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String aDescription)
    • getId

      public Integer getId()
    • setId

      public void setId(Integer aId)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • clone

      public Category clone()
      Overrides:
      clone in class Object
    • compareTo

      public int compareTo(Category o)
      Specified by:
      compareTo in interface Comparable<Category>
    • fromJSON

      public void fromJSON(Map object)
      Specified by:
      fromJSON in interface org.eclipse.jetty.util.ajax.JSON.Convertible
    • toJSON

      public void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
      Specified by:
      toJSON in interface org.eclipse.jetty.util.ajax.JSON.Convertible
    • toString

      public String toString()
      Overrides:
      toString in class Object