| Constructor and Description |
|---|
Item() |
Item(Integer id,
String itemName,
Category category,
String description,
Double initialPrice) |
| Modifier and Type | Method and 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() |
public String getFormattedAmount()
public Integer getId()
public void setId(Integer aId)
public String getDescription()
public void setDescription(String aDescription)
public Double getInitialPrice()
public void setInitialPrice(Double aInitialPrice)
public String getItemName()
public void setItemName(String aItemName)
public Category getCategory()
public void setCategory(Category aCategory)
public void fromJSON(Map object)
fromJSON in interface org.eclipse.jetty.util.ajax.JSON.Convertiblepublic void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
toJSON in interface org.eclipse.jetty.util.ajax.JSON.ConvertibleCopyright © 2008-2012 Dojo Foundation. All Rights Reserved.