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 Category
clone()
int
compareTo(Category o)
boolean
equals(Object obj)
void
fromJSON(Map object)
String
getCategoryName()
String
getDescription()
Integer
getId()
int
hashCode()
void
setCategoryName(String aCategoryName)
void
setDescription(String aDescription)
void
setId(Integer aId)
void
toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
String
toString()
-
Constructor Details
-
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
-