From: Roland Haeder Date: Fri, 14 Aug 2015 21:25:36 +0000 (+0200) Subject: Implemented missing method getIdName() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fe661b8550a4cf3e4fcf79695b9ef8605ad0884a;p=pizzaservice-war.git Implemented missing method getIdName() Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/database/frontend/category/PizzaCategoryDatabaseFrontend.java b/src/java/org/mxchange/pizzaapplication/database/frontend/category/PizzaCategoryDatabaseFrontend.java index b49ec8aa..c87f7919 100644 --- a/src/java/org/mxchange/pizzaapplication/database/frontend/category/PizzaCategoryDatabaseFrontend.java +++ b/src/java/org/mxchange/pizzaapplication/database/frontend/category/PizzaCategoryDatabaseFrontend.java @@ -296,4 +296,10 @@ public class PizzaCategoryDatabaseFrontend extends BaseDatabaseFrontend implemen // Return it return instance; } + + @Override + public String getIdName () { + // Return column id + return PizzaCategoryDatabaseConstants.COLUMN_ID; + } } diff --git a/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java b/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java index 1e6a1e0c..decfe147 100644 --- a/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java +++ b/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java @@ -312,4 +312,10 @@ public class PizzaProductDatabaseFrontend extends BaseDatabaseFrontend implement public Storeable toStoreable (final Map map) { throw new UnsupportedOperationException("Not supported yet: map=" + map); } + + @Override + public String getIdName () { + // Return column id + return PizzaProductDatabaseConstants.COLUMN_ID; + } }