]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - src/java/org/mxchange/pizzaapplication/beans/customer/CustomerBean.java
These are model classes
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / beans / customer / CustomerBean.java
index ffe424ab282040705ceb9c7b5bcabe1857c17618..4dbdd44c04140d91f8ba13c9b8de3d2f615abb9d 100644 (file)
  */
 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<Map.Entry<Field, Object>> 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;
 }