]> git.mxchange.org Git - addressbook-swing.git/blobdiff - Addressbook/src/org/mxchange/addressbook/FrameworkInterface.java
Added more input fields and overwritten toString() in Gender enum
[addressbook-swing.git] / Addressbook / src / org / mxchange / addressbook / FrameworkInterface.java
index 2158bdbbd6d19f22f1e6b04fd423702d3c498e6e..fc44b3fcf11433edced8c75f21fa7acc9cf6668d 100644 (file)
@@ -1,48 +1,58 @@
-/*\r
- * Copyright (C) 2015 Roland Haeder\r
- *\r
- * This program is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
- */\r
-package org.mxchange.addressbook;\r
-\r
-import org.mxchange.addressbook.application.Application;\r
-import org.mxchange.addressbook.client.Client;\r
-import org.mxchange.addressbook.manager.contact.ManageableContact;\r
-\r
-/**\r
- *\r
- * @author Roland Haeder\r
- */\r
-public interface FrameworkInterface {\r
-\r
-    /**\r
-     * Getter for contact manager\r
-     * @return Contact manager instance\r
-     */\r
-    public ManageableContact getContactManager();\r
-\r
-    /**\r
-     * Client instance\r
-     * \r
-     * @return the client\r
-     */\r
-    public Client getClient ();\r
-\r
-    /**\r
-     * Application instance\r
-     * \r
-     * @return the application\r
-     */\r
-    public Application getApplication ();\r
-}\r
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.addressbook;
+
+import org.mxchange.addressbook.application.Application;
+import org.mxchange.addressbook.client.Client;
+import org.mxchange.addressbook.manager.contact.ManageableContact;
+
+/**
+ * A general interface which should be always expanded
+ *
+ * @author Roland Haeder
+ */
+public interface FrameworkInterface {
+
+       /**
+        * Getter for contact manager
+        *
+        * @return Contact manager instance
+        */
+       public ManageableContact getContactManager ();
+
+       /**
+        * Client instance
+        *
+        * @return the client
+        */
+       public Client getClient ();
+
+       /**
+        * Application instance
+        *
+        * @return the application
+        */
+       public Application getApplication ();
+
+       /**
+        * Getter for human-readable string from given key
+        * 
+        * @param key Key to return
+        * @return Human-readable message
+        */
+       public String getMessageStringFromKey (final String key);
+}