From 7e1dc270231ccfec9dbe5c90b35a71fb95ca31d0 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 14 Aug 2015 21:51:00 +0200 Subject: [PATCH] =?utf8?q?Added=20more=20thrown=20exception=20(yes,=20agai?= =?utf8?q?n)Changed=20parameter=20type=20from=20String=20to=20Object=20+?= =?utf8?q?=20implemented=20one=20setter=20Signed-off-by:Roland=20H=C3=A4de?= =?utf8?q?r=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../org/mxchange/pizzaapplication/category/BaseCategory.java | 2 +- .../customer/bean/PizzaServiceCustomerBean.java | 4 ++-- .../org/mxchange/pizzaapplication/product/BaseProduct.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java/org/mxchange/pizzaapplication/category/BaseCategory.java b/src/java/org/mxchange/pizzaapplication/category/BaseCategory.java index 2a781dde..54892128 100644 --- a/src/java/org/mxchange/pizzaapplication/category/BaseCategory.java +++ b/src/java/org/mxchange/pizzaapplication/category/BaseCategory.java @@ -163,7 +163,7 @@ public class BaseCategory extends BaseFrameworkSystem implements Category { } @Override - public void setValueFromColumn (final String columnName, final String value) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { + public void setValueFromColumn (final String columnName, final Object value) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { // Trace message this.getLogger().trace(MessageFormat.format("columnName={0},value={1} - CALLED!", columnName, value)); diff --git a/src/java/org/mxchange/pizzaapplication/customer/bean/PizzaServiceCustomerBean.java b/src/java/org/mxchange/pizzaapplication/customer/bean/PizzaServiceCustomerBean.java index e68c9828..bcdafaad 100644 --- a/src/java/org/mxchange/pizzaapplication/customer/bean/PizzaServiceCustomerBean.java +++ b/src/java/org/mxchange/pizzaapplication/customer/bean/PizzaServiceCustomerBean.java @@ -256,13 +256,13 @@ public class PizzaServiceCustomerBean extends BasePizzaServiceSystem implements } @Override - public Object getValueFromColumn (String columnName) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { + public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { // Deligate to "hidden" object return this.getContact().getValueFromColumn(columnName); } @Override - public void setValueFromColumn (String columnName, String value) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { + public void setValueFromColumn (final String columnName, final Object value) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { // Deligate to "hidden" object this.getContact().setValueFromColumn(columnName, value); } diff --git a/src/java/org/mxchange/pizzaapplication/product/BaseProduct.java b/src/java/org/mxchange/pizzaapplication/product/BaseProduct.java index 7d732948..0b9d9740 100644 --- a/src/java/org/mxchange/pizzaapplication/product/BaseProduct.java +++ b/src/java/org/mxchange/pizzaapplication/product/BaseProduct.java @@ -182,7 +182,7 @@ public class BaseProduct extends BaseFrameworkSystem implements Product { } @Override - public void setValueFromColumn (final String columnName, final String value) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { + public void setValueFromColumn (final String columnName, final Object value) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { // Trace message this.getLogger().trace(MessageFormat.format("columnName={0},value={1} - CALLED!", columnName, value)); -- 2.39.5