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 Item
clone()
boolean
equals(Object obj)
void
fromJSON(Map object)
Category
getCategory()
String
getDescription()
String
getFormattedAmount()
Integer
getId()
Double
getInitialPrice()
String
getItemName()
int
hashCode()
void
setCategory(Category aCategory)
void
setDescription(String aDescription)
void
setId(Integer aId)
void
setInitialPrice(Double aInitialPrice)
void
setItemName(String aItemName)
void
toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
String
toString()
-
Constructor Details
-
Method Details
-
getFormattedAmount
-
getId
-
setId
-
getDescription
-
setDescription
-
getInitialPrice
-
setInitialPrice
-
getItemName
-
setItemName
-
getCategory
-
setCategory
-
equals
-
hashCode
public int hashCode() -
clone
-
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
-