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 Details

  • Method Details

    • getFormattedAmount

      public String getFormattedAmount()
    • getId

      public Integer getId()
    • setId

      public void setId(Integer aId)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String aDescription)
    • getInitialPrice

      public Double getInitialPrice()
    • setInitialPrice

      public void setInitialPrice(Double aInitialPrice)
    • getItemName

      public String getItemName()
    • setItemName

      public void setItemName(String aItemName)
    • getCategory

      public Category getCategory()
    • setCategory

      public void setCategory(Category aCategory)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Item clone()
      Overrides:
      clone in class Object
    • fromJSON

      public void fromJSON(Map<String,​Object> object)
      Specified by:
      fromJSON in interface org.eclipse.jetty.util.ajax.JSON.Convertible
    • toJSON

      public void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
      Specified by:
      toJSON in interface org.eclipse.jetty.util.ajax.JSON.Convertible
    • toString

      public String toString()
      Overrides:
      toString in class Object