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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanvoidgetId()inthashCode()voidsetCategoryName(String aCategoryName) voidsetDescription(String aDescription) voidvoidtoJSON(org.eclipse.jetty.util.ajax.JSON.Output out) toString()
-
Constructor Details
-
Category
public Category() -
Category
-
-
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
-