]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added more thrown exception (yes, again)Changed parameter type from String to Object...
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Aug 2015 19:51:00 +0000 (21:51 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Aug 2015 19:51:00 +0000 (21:51 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/pizzaapplication/category/BaseCategory.java
src/java/org/mxchange/pizzaapplication/customer/bean/PizzaServiceCustomerBean.java
src/java/org/mxchange/pizzaapplication/product/BaseProduct.java

index 2a781dde6d2d6ba3cff9f0e10f4eb07656040859..54892128154a29cccdd4d354ee53a73a87c21305 100644 (file)
@@ -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));
 
index e68c9828c6481584b66b9acf7f64f1586c9e2f14..bcdafaad04be3e73862b825b517c5da48d39d680 100644 (file)
@@ -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);
        }
index 7d732948f71925d3f96595db6976a1d0d449168d..0b9d974009b46ba6f1c1688b8a843b49beffad0f 100644 (file)
@@ -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));