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()
int
boolean
void
getId()
int
hashCode()
void
setCategoryName(String aCategoryName)
void
setDescription(String aDescription)
void
void
toJSON(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:
compareTo
in interfaceComparable<Category>
-
fromJSON
- Specified by:
fromJSON
in interfaceorg.eclipse.jetty.util.ajax.JSON.Convertible
-
toJSON
public void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)- Specified by:
toJSON
in interfaceorg.eclipse.jetty.util.ajax.JSON.Convertible
-
toString
-