]> git.mxchange.org Git - jbonuscard-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/Client.java
Introduced Gender enum which replaces the old char
[jbonuscard-lib.git] / Addressbook / src / org / mxchange / addressbook / client / Client.java
index 7dcbdfe4a629889f6b6b696653fa7120a6a1a5d8..9ebbc14c79b1547bea2ed702a1790d9a74703f5d 100644 (file)
@@ -19,6 +19,7 @@ package org.mxchange.addressbook.client;
 import org.mxchange.addressbook.FrameworkInterface;
 import org.mxchange.addressbook.exceptions.UnhandledUserChoiceException;
 import org.mxchange.addressbook.contact.Contact;
+import org.mxchange.addressbook.contact.Gender;
 import org.mxchange.addressbook.menu.item.SelectableMenuItem;
 
 /**
@@ -68,6 +69,14 @@ public interface Client extends FrameworkInterface {
         */
        public void doShutdown ();
 
+       /**
+        * Asks the user to enter his/her gender (M=Male, F=Female, C=Company)
+        * 
+        * @param message Message to output
+        * @return Gender enum
+        */
+       public Gender enterGender (final String message);
+
        /**
         * Displays a message to the user
         *