Class Product

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

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

    • Product

      public Product()
  • Method Details

    • getProductId

      public String getProductId()
      Gets the product id.
      Returns:
      the product id
    • setProductId

      public void setProductId(String productId)
      Sets the product id.
      Parameters:
      productId - the product id
    • getCategoryId

      public String getCategoryId()
      Gets the category id.
      Returns:
      the category id
    • setCategoryId

      public void setCategoryId(String categoryId)
      Sets the category id.
      Parameters:
      categoryId - the category id
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the name
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description.
      Parameters:
      description - the description
    • toString

      public String toString()
      Overrides:
      toString in class Object