Class Item

java.lang.Object
org.mybatis.jpetstore.domain.Item
All Implemented Interfaces:
Serializable

public class Item extends Object implements Serializable
The Class Item.
Author:
Eduardo Macarron
See Also:
  • Constructor Details

    • Item

      public Item()
  • Method Details

    • getItemId

      public String getItemId()
      Gets the item id.
      Returns:
      the item id
    • setItemId

      public void setItemId(String itemId)
      Sets the item id.
      Parameters:
      itemId - the item id
    • getQuantity

      public int getQuantity()
      Gets the quantity.
      Returns:
      the quantity
    • setQuantity

      public void setQuantity(int quantity)
      Sets the quantity.
      Parameters:
      quantity - the quantity
    • getProduct

      public Product getProduct()
      Gets the product.
      Returns:
      the product
    • setProduct

      public void setProduct(Product product)
      Sets the product.
      Parameters:
      product - the product
    • getSupplierId

      public int getSupplierId()
      Gets the supplier id.
      Returns:
      the supplier id
    • setSupplierId

      public void setSupplierId(int supplierId)
      Sets the supplier id.
      Parameters:
      supplierId - the supplier id
    • getListPrice

      public BigDecimal getListPrice()
      Gets the list price.
      Returns:
      the list price
    • setListPrice

      public void setListPrice(BigDecimal listPrice)
      Sets the list price.
      Parameters:
      listPrice - the list price
    • getUnitCost

      public BigDecimal getUnitCost()
      Gets the unit cost.
      Returns:
      the unit cost
    • setUnitCost

      public void setUnitCost(BigDecimal unitCost)
      Sets the unit cost.
      Parameters:
      unitCost - the unit cost
    • getStatus

      public String getStatus()
      Gets the status.
      Returns:
      the status
    • setStatus

      public void setStatus(String status)
      Sets the status.
      Parameters:
      status - the status
    • getAttribute1

      public String getAttribute1()
      Gets the attribute1.
      Returns:
      the attribute1
    • setAttribute1

      public void setAttribute1(String attribute1)
      Sets the attribute1.
      Parameters:
      attribute1 - the attribute1
    • getAttribute2

      public String getAttribute2()
      Gets the attribute2.
      Returns:
      the attribute2
    • setAttribute2

      public void setAttribute2(String attribute2)
      Sets the attribute2.
      Parameters:
      attribute2 - the attribute2
    • getAttribute3

      public String getAttribute3()
      Gets the attribute3.
      Returns:
      the attribute3
    • setAttribute3

      public void setAttribute3(String attribute3)
      Sets the attribute3.
      Parameters:
      attribute3 - the attribute3
    • getAttribute4

      public String getAttribute4()
      Gets the attribute4.
      Returns:
      the attribute4
    • setAttribute4

      public void setAttribute4(String attribute4)
      Sets the attribute4.
      Parameters:
      attribute4 - the attribute4
    • getAttribute5

      public String getAttribute5()
      Gets the attribute5.
      Returns:
      the attribute5
    • setAttribute5

      public void setAttribute5(String attribute5)
      Sets the attribute5.
      Parameters:
      attribute5 - the attribute5
    • toString

      public String toString()
      Overrides:
      toString in class Object