From ea2ac9942269d6155aaf6dc62213791c1bb15984 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 8 Sep 2015 22:44:54 +0200 Subject: [PATCH] =?utf8?q?Continued:=20-=20had=20to=20put=20all=20classes?= =?utf8?q?=20and=20interfaces=20in=20one=20package=20jar-wide=20...=20:-(?= =?utf8?q?=20-=20updated=20jcore.jar,=20jcoreee.jar=20Signed-off-by:Roland?= =?utf8?q?=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcore-ee-logger.jar | Bin 5452 -> 5508 bytes lib/jcore.jar | Bin 28933 -> 28193 bytes lib/jcoreee.jar | Bin 20298 -> 16413 bytes nbproject/build-impl.xml | 16 ++++++++++++++++ nbproject/genfiles.properties | 6 +++--- nbproject/project.properties | 8 ++++---- nbproject/project.xml | 10 ++++++++++ .../{item => basket}/AddableBasketItem.java | 15 +++++++-------- .../jshopcore/model/basket/BaseBasket.java | 3 +-- .../jshopcore/model/basket/Basket.java | 1 - .../{item/ItemBasket.java => ShopBasket.java} | 8 ++++---- .../model/category/BaseCategory.java | 17 +---------------- .../jshopcore/model/category/Category.java | 9 --------- .../{product => }/ProductCategory.java | 3 ++- .../jshopcore/model/item/BaseItem.java | 16 ++-------------- .../model/item/{basket => }/BasketItem.java | 5 ++--- .../jshopcore/model/product/BaseProduct.java | 2 +- .../product/{generic => }/GenericProduct.java | 4 +++- 18 files changed, 56 insertions(+), 67 deletions(-) rename src/org/mxchange/jshopcore/model/{item => basket}/AddableBasketItem.java (90%) rename src/org/mxchange/jshopcore/model/basket/{item/ItemBasket.java => ShopBasket.java} (84%) rename src/org/mxchange/jshopcore/model/category/{product => }/ProductCategory.java (92%) rename src/org/mxchange/jshopcore/model/item/{basket => }/BasketItem.java (91%) rename src/org/mxchange/jshopcore/model/product/{generic => }/GenericProduct.java (92%) diff --git a/lib/jcore-ee-logger.jar b/lib/jcore-ee-logger.jar index b7c47511b5b9648be05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f1G{)+~%$_uaLnYLPeJHN6#!>Ys1dEaskVg;bcz7j`&++INuY}O3W8Ef*>k|-@=iu#Qe?DwHal7VQQAht+ z;Wu(vga4M{N4@g5@H05}FXj}hdi`dORFHpP|Foo13RO#fL8n^d@>qxcPa6LoFC~zv zR)e6-`6o5rbZQiS&!$>c8E*TZR9((-^oW|OHZBiN7A5q1OOT(&DUO-@=X@m9R1|Tc zk_h{!2C4~?AIm8U`er3TQ~96HsjQNm4J}Ig_XQ+n3qPe(S)%-yPEle9*Qv)yTTw^1 zyhQcXVYM#HlbS`bnMz`d*1Vdq@?L*)VPPskQ%&Obymo3Q{kTSnu54D7rL(C_elKCH z=cpFDZ?hIvm!o8w?SHZ-K3lU)+aJ3}!~J7DdD&n8^!L3bm!0gePkXv$x__CYD6@yw z%yR^){!WKmzWWy!it=Bf!Ss~xTDJ;cT>JYA?uOit6c-yB5 + + + + + + + + @@ -1406,6 +1414,14 @@ is divided into following sections: + + + + + + + + diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index a684ce4..104b3f2 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=622c8e1d +build.xml.data.CRC32=bbffe842 build.xml.script.CRC32=fa35cacf build.xml.stylesheet.CRC32=8064a381@1.75.2.48 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=622c8e1d -nbproject/build-impl.xml.script.CRC32=40bf9247 +nbproject/build-impl.xml.data.CRC32=bbffe842 +nbproject/build-impl.xml.script.CRC32=a945b1d8 nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/nbproject/project.properties b/nbproject/project.properties index 8b450d2..d77d1a4 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -30,16 +30,15 @@ dist.jar=${dist.dir}/jshop-core.jar dist.javadoc.dir=${dist.dir}/javadoc endorsed.classpath= excludes= -file.reference.jcore-ee-logger.jar=lib\\jcore-ee-logger.jar file.reference.jcore.jar=lib/jcore.jar -file.reference.jcoreee.jar=lib\\jcoreee.jar +file.reference.jcoreee.jar=lib/jcoreee.jar includes=** jar.archive.disabled=${jnlp.enabled} jar.compress=false jar.index=${jnlp.enabled} javac.classpath=\ ${file.reference.jcore.jar}:\ - ${file.reference.jcore-ee-logger.jar}:\ + ${reference.jcore-ee-logger.jar}:\ ${file.reference.jcoreee.jar} # Space-separated list of extra javac options javac.compilerargs=-Xlint:unchecked -Xlint:deprecation @@ -80,7 +79,9 @@ manifest.custom.permissions= meta.inf.dir=${src.dir}/META-INF mkdist.disabled=true platform.active=default_platform +project.jcore-ee-logger=../jcore-ee-logger project.license=gpl30 +reference.jcore-ee-logger.jar=${project.jcore-ee-logger}/dist/jcore-ee-logger.jar run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} @@ -92,7 +93,6 @@ run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} source.encoding=UTF-8 -source.reference.jcore-ee-logger.jar=../jcore-ee-logger/src/ source.reference.jcore.jar=../jcore/src/ source.reference.jcoreee.jar=../jcoreee/src/ src.dir=src diff --git a/nbproject/project.xml b/nbproject/project.xml index 815ee3d..90befe4 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -14,5 +14,15 @@ ./lib/nblibraries.properties + + + jcore-ee-logger + jar + + jar + clean + jar + + diff --git a/src/org/mxchange/jshopcore/model/item/AddableBasketItem.java b/src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java similarity index 90% rename from src/org/mxchange/jshopcore/model/item/AddableBasketItem.java rename to src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java index 00ea850..db0855a 100644 --- a/src/org/mxchange/jshopcore/model/item/AddableBasketItem.java +++ b/src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jshopcore.model.item; +package org.mxchange.jshopcore.model.basket; import java.io.Serializable; import org.mxchange.jshopcore.model.product.Product; @@ -28,24 +28,28 @@ public interface AddableBasketItem extends Serializable { /** * Item amount + * * @return the amount */ public Long getAmount (); /** * Item amount + * * @param amount the amount to set */ public void setAmount (final Long amount); /** * Entry id (from database backend) + * * @return the id */ public Long getId (); /** * Entry id (from database backend) + * * @param id the id to set */ public void setId (final Long id); @@ -70,19 +74,14 @@ public interface AddableBasketItem extends Serializable { */ public void setItemType (final String type); - /** - * Calculates total price by multipying amount and single price - * - * @return Total price of this item - */ - public Float calculateTotalPrice (); - /** * @return the product */ public Product getProduct (); /** + * Product instance + * * @param product the product to set */ public void setProduct (final Product product); diff --git a/src/org/mxchange/jshopcore/model/basket/BaseBasket.java b/src/org/mxchange/jshopcore/model/basket/BaseBasket.java index 9e47ad5..cc4d280 100644 --- a/src/org/mxchange/jshopcore/model/basket/BaseBasket.java +++ b/src/org/mxchange/jshopcore/model/basket/BaseBasket.java @@ -21,8 +21,7 @@ import java.lang.reflect.InvocationTargetException; import java.sql.SQLException; import java.text.MessageFormat; import java.util.Map; -import org.mxchange.jcoree.BaseEeSystem; -import org.mxchange.jshopcore.model.item.AddableBasketItem; +import org.mxchange.jcoreee.BaseEeSystem; /** * A general basket class diff --git a/src/org/mxchange/jshopcore/model/basket/Basket.java b/src/org/mxchange/jshopcore/model/basket/Basket.java index 679200a..24502ec 100644 --- a/src/org/mxchange/jshopcore/model/basket/Basket.java +++ b/src/org/mxchange/jshopcore/model/basket/Basket.java @@ -21,7 +21,6 @@ import java.io.Serializable; import java.lang.reflect.InvocationTargetException; import java.sql.SQLException; import java.util.Map; -import org.mxchange.jshopcore.model.item.AddableBasketItem; /** * An interface for baskets diff --git a/src/org/mxchange/jshopcore/model/basket/item/ItemBasket.java b/src/org/mxchange/jshopcore/model/basket/ShopBasket.java similarity index 84% rename from src/org/mxchange/jshopcore/model/basket/item/ItemBasket.java rename to src/org/mxchange/jshopcore/model/basket/ShopBasket.java index 9cd3c53..7cd016c 100644 --- a/src/org/mxchange/jshopcore/model/basket/item/ItemBasket.java +++ b/src/org/mxchange/jshopcore/model/basket/ShopBasket.java @@ -14,19 +14,19 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jshopcore.model.basket.item; +package org.mxchange.jshopcore.model.basket; import java.sql.SQLException; import org.mxchange.jshopcore.model.basket.BaseBasket; import org.mxchange.jshopcore.model.basket.Basket; -import org.mxchange.jshopcore.model.item.AddableBasketItem; +import org.mxchange.jshopcore.model.basket.AddableBasketItem; /** * A basket for orderable items * * @author Roland Haeder */ -public class ItemBasket extends BaseBasket implements Basket { +public class ShopBasket extends BaseBasket implements Basket { /** * Serial number */ @@ -36,7 +36,7 @@ public class ItemBasket extends BaseBasket implements Basket< * Default constructor to be able to throw exceptions from super constructor * @throws java.sql.SQLException If an SQL error occurs */ - public ItemBasket () throws SQLException { + public ShopBasket () throws SQLException { // Call super constructor super(); } diff --git a/src/org/mxchange/jshopcore/model/category/BaseCategory.java b/src/org/mxchange/jshopcore/model/category/BaseCategory.java index e8fe1d9..ecc6a82 100644 --- a/src/org/mxchange/jshopcore/model/category/BaseCategory.java +++ b/src/org/mxchange/jshopcore/model/category/BaseCategory.java @@ -16,10 +16,9 @@ */ package org.mxchange.jshopcore.model.category; -import java.io.UnsupportedEncodingException; import java.text.MessageFormat; import java.util.Objects; -import org.mxchange.jcoree.BaseEeSystem; +import org.mxchange.jcoreee.BaseEeSystem; /** * A general product category class @@ -99,20 +98,6 @@ public abstract class BaseCategory extends BaseEeSystem implements Category { return 1; } - /** - * Decodes the UTF8-encoded title - * - * @return Decoded title - */ - @Override - public String getDecodedTitle () throws UnsupportedEncodingException { - // Get title - byte[] t = this.getTitle().getBytes(); - - // Decode it - return new String(t, "UTF-8"); //NOI18N - } - /** * Id number of category * diff --git a/src/org/mxchange/jshopcore/model/category/Category.java b/src/org/mxchange/jshopcore/model/category/Category.java index fd775cc..1fb60e8 100644 --- a/src/org/mxchange/jshopcore/model/category/Category.java +++ b/src/org/mxchange/jshopcore/model/category/Category.java @@ -17,7 +17,6 @@ package org.mxchange.jshopcore.model.category; import java.io.Serializable; -import java.io.UnsupportedEncodingException; /** * An interface for categories @@ -69,12 +68,4 @@ public interface Category extends Comparable, Serializable { */ @Override public int compareTo (final Category category); - - /** - * Decodes the UTF8-encoded title - * - * @return Decoded title - * @throws java.io.UnsupportedEncodingException If the encoding UTF-8 is not supported - */ - public String getDecodedTitle () throws UnsupportedEncodingException ; } diff --git a/src/org/mxchange/jshopcore/model/category/product/ProductCategory.java b/src/org/mxchange/jshopcore/model/category/ProductCategory.java similarity index 92% rename from src/org/mxchange/jshopcore/model/category/product/ProductCategory.java rename to src/org/mxchange/jshopcore/model/category/ProductCategory.java index ad6ef83..cfd56f8 100644 --- a/src/org/mxchange/jshopcore/model/category/product/ProductCategory.java +++ b/src/org/mxchange/jshopcore/model/category/ProductCategory.java @@ -14,8 +14,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jshopcore.model.category.product; +package org.mxchange.jshopcore.model.category; +import org.mxchange.jshopcore.model.category.BaseCategory; import org.mxchange.jshopcore.model.category.BaseCategory; /** diff --git a/src/org/mxchange/jshopcore/model/item/BaseItem.java b/src/org/mxchange/jshopcore/model/item/BaseItem.java index 0353d33..d2895c6 100644 --- a/src/org/mxchange/jshopcore/model/item/BaseItem.java +++ b/src/org/mxchange/jshopcore/model/item/BaseItem.java @@ -18,7 +18,8 @@ package org.mxchange.jshopcore.model.item; import java.text.MessageFormat; import java.util.Objects; -import org.mxchange.jcoree.BaseEeSystem; +import org.mxchange.jcoreee.BaseEeSystem; +import org.mxchange.jshopcore.model.basket.AddableBasketItem; import org.mxchange.jshopcore.model.product.Product; /** @@ -58,19 +59,6 @@ public abstract class BaseItem extends BaseEeSystem implements AddableBasketItem */ private Product product; - @Override - public Float calculateTotalPrice () { - // product should be set - if (this.getProduct() == null) { - // Abort here - throw new NullPointerException("product is null"); //NOI18N - } - - // Calculate and return it - // TODO: If later other purchaseable items (other than products) are handled through this class, this needs expansion - return (this.getAmount() * this.getProduct().getPrice()); - } - @Override public int compareTo (final AddableBasketItem item) { // Trace message diff --git a/src/org/mxchange/jshopcore/model/item/basket/BasketItem.java b/src/org/mxchange/jshopcore/model/item/BasketItem.java similarity index 91% rename from src/org/mxchange/jshopcore/model/item/basket/BasketItem.java rename to src/org/mxchange/jshopcore/model/item/BasketItem.java index 217b3ac..334179e 100644 --- a/src/org/mxchange/jshopcore/model/item/basket/BasketItem.java +++ b/src/org/mxchange/jshopcore/model/item/BasketItem.java @@ -14,11 +14,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jshopcore.model.item.basket; +package org.mxchange.jshopcore.model.item; import java.text.MessageFormat; -import org.mxchange.jshopcore.model.item.AddableBasketItem; -import org.mxchange.jshopcore.model.item.BaseItem; +import org.mxchange.jshopcore.model.basket.AddableBasketItem; import org.mxchange.jshopcore.model.product.Product; /** diff --git a/src/org/mxchange/jshopcore/model/product/BaseProduct.java b/src/org/mxchange/jshopcore/model/product/BaseProduct.java index b1704d6..e655ed5 100644 --- a/src/org/mxchange/jshopcore/model/product/BaseProduct.java +++ b/src/org/mxchange/jshopcore/model/product/BaseProduct.java @@ -7,7 +7,7 @@ package org.mxchange.jshopcore.model.product; import java.text.MessageFormat; import java.util.Objects; -import org.mxchange.jcoree.BaseEeSystem; +import org.mxchange.jcoreee.BaseEeSystem; /** * A general product class diff --git a/src/org/mxchange/jshopcore/model/product/generic/GenericProduct.java b/src/org/mxchange/jshopcore/model/product/GenericProduct.java similarity index 92% rename from src/org/mxchange/jshopcore/model/product/generic/GenericProduct.java rename to src/org/mxchange/jshopcore/model/product/GenericProduct.java index 58619f3..15a40f7 100644 --- a/src/org/mxchange/jshopcore/model/product/generic/GenericProduct.java +++ b/src/org/mxchange/jshopcore/model/product/GenericProduct.java @@ -14,10 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jshopcore.model.product.generic; +package org.mxchange.jshopcore.model.product; import java.text.MessageFormat; import org.mxchange.jshopcore.model.product.BaseProduct; +import org.mxchange.jshopcore.model.product.BaseProduct; +import org.mxchange.jshopcore.model.product.Product; import org.mxchange.jshopcore.model.product.Product; /** -- 2.39.5