]> git.mxchange.org Git - jshop-core.git/commitdiff
renamed for naming convention
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 16:38:08 +0000 (18:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 16:39:24 +0000 (18:39 +0200)
src/org/mxchange/jshopcore/model/order/Orderable.java
src/org/mxchange/jshopcore/model/order/ShopOrder.java

index 107857078dfad1c64ceb91568f8e6dd13fa04d1a..4517cda88fec67a451085c1f356fe93ae106835e 100644 (file)
@@ -95,7 +95,7 @@ public interface Orderable extends Serializable {
        /**
         * Setter for list of ordered basket items
         * <p>
-        * @param itemList List of items
+        * @param orderedItems List of ordered items
         */
-       public void setOrderedItems (final List<AddableBasketItem> itemList);
+       public void setOrderedItems (final List<AddableBasketItem> orderedItems);
 }
index 9209986ced7a273bac26226c09bd75ed68080186..c0757c4c8c6d31b55bfdaf0287259c0c94a56908 100644 (file)
@@ -74,7 +74,7 @@ public class ShopOrder implements Orderable {
         * Item list, don't save this
         */
        @Transient
-       private List<AddableBasketItem> itemList;
+       private List<AddableBasketItem> orderedItems;
 
        /**
         * Order orderId
@@ -126,11 +126,11 @@ public class ShopOrder implements Orderable {
 
        @Override
        public List<AddableBasketItem> getOrderedItems () {
-               return this.itemList;
+               return this.orderedItems;
        }
 
        @Override
-       public void setOrderedItems (final List<AddableBasketItem> itemList) {
-               this.itemList = itemList;
+       public void setOrderedItems (final List<AddableBasketItem> orderedItems) {
+               this.orderedItems = orderedItems;
        }
 }