Class Product
java.lang.Object
org.mybatis.jpetstore.domain.Product
- All Implemented Interfaces:
Serializable
The Class Product.
- Author:
- Eduardo Macarron
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the category id.Gets the description.getName()Gets the name.Gets the product id.voidsetCategoryId(String categoryId) Sets the category id.voidsetDescription(String description) Sets the description.voidSets the name.voidsetProductId(String productId) Sets the product id.toString()
-
Constructor Details
-
Product
public Product()
-
-
Method Details
-
getProductId
-
setProductId
Sets the product id.- Parameters:
productId- the product id
-
getCategoryId
-
setCategoryId
Sets the category id.- Parameters:
categoryId- the category id
-
getName
-
setName
-
getDescription
-
setDescription
Sets the description.- Parameters:
description- the description
-
toString
-