Package org.webtide.demo.auction
Class Item
java.lang.Object
org.webtide.demo.auction.Item
- All Implemented Interfaces:
Cloneable,org.eclipse.jetty.util.ajax.JSON.Convertible
public class Item extends Object implements Cloneable, org.eclipse.jetty.util.ajax.JSON.Convertible
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Itemclone()booleanequals(Object obj)voidfromJSON(Map object)CategorygetCategory()StringgetDescription()StringgetFormattedAmount()IntegergetId()DoublegetInitialPrice()StringgetItemName()inthashCode()voidsetCategory(Category aCategory)voidsetDescription(String aDescription)voidsetId(Integer aId)voidsetInitialPrice(Double aInitialPrice)voidsetItemName(String aItemName)voidtoJSON(org.eclipse.jetty.util.ajax.JSON.Output out)StringtoString()
-
Constructor Details
-
Method Details
-
getFormattedAmount
-
getId
-
setId
-
getDescription
-
setDescription
-
getInitialPrice
-
setInitialPrice
-
getItemName
-
setItemName
-
getCategory
-
setCategory
-
equals
-
hashCode
public int hashCode() -
clone
-
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
-