/**
* An interface for in database storable products
- *
+ * <p>
* @author Roland Haeder<roland@mxchange.org>
*/
public interface Product extends Serializable {
/**
* Copies all properties from source product to this.
- *
+ * <p>
* @param product Source product
*/
public void copyAll (final Product product);
/**
* Getter for product availability
- *
+ * <p>
* @return Product availability
*/
public Boolean getProductAvailability ();
/**
* Setter for product availability
- *
+ * <p>
* @param productAvailability Product availability
*/
public void setProductAvailability (final Boolean productAvailability);
/**
* Getter for product category id
- *
+ * <p>
* @return Product category id
*/
public Category getProductCategory ();
/**
* Setter for product category
- *
+ * <p>
* @param productCategory Product category
*/
public void setProductCategory (final Category productCategory);
/**
* Getter for id number, suitable for form fields.
- *
+ * <p>
* @return Id number of product
*/
public Long getProductId ();
/**
* Id number of product
- *
+ * <p>
* @param productId the id number to set
*/
public void setProductId (final Long productId);
/**
* Getter for raw price.
- *
+ * <p>
* @return Single price of product
*/
public Float getProductPrice ();
/**
* Price of product
- *
+ * <p>
* @param productPrice the price to set
*/
public void setProductPrice (final Float productPrice);
/**
* Getter for title.
- *
+ * <p>
* @return Title of product
*/
public String getProductTitle ();
/**
* Title of product
- *
+ * <p>
* @param productTitle the title to set
*/
public void setProductTitle (final String productTitle);