Package org.webtide.demo.auction
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 Summary
-
Method Summary
Modifier and Type Method Description Categoryclone()intcompareTo(Category o)booleanequals(Object obj)voidfromJSON(Map object)StringgetCategoryName()StringgetDescription()IntegergetId()inthashCode()voidsetCategoryName(String aCategoryName)voidsetDescription(String aDescription)voidsetId(Integer aId)voidtoJSON(org.eclipse.jetty.util.ajax.JSON.Output out)StringtoString()
-
Constructor Details
-
Method Details
-
getCategoryName
-
setCategoryName
-
getDescription
-
setDescription
-
getId
-
setId
-
hashCode
public int hashCode() -
equals
-
clone
-
compareTo
- Specified by:
compareToin interfaceComparable<Category>
-
fromJSON
- Specified by:
fromJSONin interfaceorg.eclipse.jetty.util.ajax.JSON.Convertible
-
toJSON
public void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)- Specified by:
toJSONin interfaceorg.eclipse.jetty.util.ajax.JSON.Convertible
-
toString
-