]> git.mxchange.org Git - jcustomer-core.git/blobdiff - src/org/mxchange/jshopcore/model/product/GenericProduct.java
auto-formatted project + updated jars
[jcustomer-core.git] / src / org / mxchange / jshopcore / model / product / GenericProduct.java
index 570c6270ce928d5c0a771077d398b78a83da4672..a2daad10022266a88f5a87f30ecf433ff2086a1a 100644 (file)
@@ -31,7 +31,7 @@ import org.mxchange.jshopcore.model.category.ProductCategory;
 
 /**
  * Generic product class
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  * TODO: Find a better name
  */
@@ -53,8 +53,8 @@ public class GenericProduct implements Product, Comparable<Product> {
        /**
         * Product productCategory
         */
-       @JoinColumn(name = "category_id", nullable = false, updatable = false)
-       @OneToOne(targetEntity = ProductCategory.class, optional = false)
+       @JoinColumn (name = "category_id", nullable = false, updatable = false)
+       @OneToOne (targetEntity = ProductCategory.class, optional = false)
        private Category productCategory;
 
        /**
@@ -62,7 +62,7 @@ public class GenericProduct implements Product, Comparable<Product> {
         */
        @Id
        @GeneratedValue (strategy = GenerationType.IDENTITY)
-       @Column(name = "product_id", length = 20, nullable = false, updatable = false)
+       @Column (name = "product_id", length = 20, nullable = false, updatable = false)
        private Long productId;
 
        /**
@@ -87,7 +87,7 @@ public class GenericProduct implements Product, Comparable<Product> {
 
        /**
         * Constructor will all required data
-        *
+        * <p>
         * @param productId Id number of product
         * @param productTitle Name of product
         * @param productPrice Price