X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fmxchange%2Fpizzaapplication%2Fbeans%2Fcustomer%2FCustomerBean.java;h=4dbdd44c04140d91f8ba13c9b8de3d2f615abb9d;hb=875feef786bbaac4ebaf77a76dfc361b08e0673d;hp=ffe424ab282040705ceb9c7b5bcabe1857c17618;hpb=a785d803d21066b56fdacdfeda992adc45f70c25;p=pizzaservice-war.git diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerBean.java index ffe424ab..4dbdd44c 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerBean.java @@ -16,12 +16,8 @@ */ package org.mxchange.pizzaapplication.beans.customer; -import java.lang.reflect.Field; -import java.lang.reflect.InvocationTargetException; -import java.util.Iterator; -import java.util.Map; import org.mxchange.jcore.client.Client; -import org.mxchange.jcore.contact.Gender; +import org.mxchange.jcore.contact.gender.Gender; import org.mxchange.jshop.beans.FrameworkBean; /** @@ -30,16 +26,6 @@ import org.mxchange.jshop.beans.FrameworkBean; * @author Roland Haeder */ public interface CustomerBean extends FrameworkBean { - /** - * Returns an iterator of all values from this object - * - * @return An iterator - * @throws java.lang.NoSuchMethodException If the invoked method was not found - * @throws java.lang.IllegalAccessException If the method cannot be accessed - * @throws java.lang.reflect.InvocationTargetException Any other problems? - */ - public Iterator> iterator ()throws NoSuchMethodException, IllegalAccessException, InvocationTargetException; - /** * Some "getter" for translated gender of the contact * @@ -270,30 +256,4 @@ public interface CustomerBean extends FrameworkBean { * @param client Client instance to call back */ public void show (final Client client); - - /** - * Some "getter for a value from given column name. This name will be - * translated into a method name and then this method is called. - * - * @param columnName Column name - * @return Value from field - * @throws IllegalArgumentException Some implementations may throw this - * @throws java.lang.NoSuchMethodException If the invoked method was not found - * @throws java.lang.IllegalAccessException If the method cannot be accessed - * @throws java.lang.reflect.InvocationTargetException Any other problems? - */ - public Object getValueFromColumn (final String columnName) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException; - - /** - * Some "setter" for a value from given column name. You may wish to overwrite this method in your - * own class. - * - * @param columnName Column name - * @param value Value to set in object's field - * @throws IllegalArgumentException Some implementations may throw this - * @throws java.lang.NoSuchMethodException If the invoked method was not found - * @throws java.lang.IllegalAccessException If the method cannot be accessed - * @throws java.lang.reflect.InvocationTargetException Any other problems? - */ - public void setValueFromColumn (final String columnName, final Object value) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException; }