]> git.mxchange.org Git - jfinancials-swing.git/commitdiff
Added generic interface to generic class + added some methods to it
authorRoland Haeder <roland@mxchange.org>
Tue, 21 Jul 2015 11:28:00 +0000 (13:28 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 21 Jul 2015 11:28:00 +0000 (13:28 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

Addressbook/src/org/mxchange/addressbook/BaseFrameworkSystem.java
Addressbook/src/org/mxchange/addressbook/FrameworkInterface.java

index a9d6dff137492f006c9623ebf9e95c69d0e9efa4..44ce5b289cd6aded996b4b033aab5ebd1895ac92 100644 (file)
@@ -28,7 +28,7 @@ import org.mxchange.addressbook.manager.contact.ManageableContact;
  *\r
  * @author Roland Haeder\r
  */\r
-public class BaseFrameworkSystem {\r
+public class BaseFrameworkSystem implements FrameworkInterface {\r
     /**\r
      * Class' logger\r
      */\r
@@ -72,6 +72,7 @@ public class BaseFrameworkSystem {
      * \r
      * @return the application\r
      */\r
+    @Override\r
     public Application getApplication () {\r
        return this.application;\r
     }\r
@@ -81,6 +82,7 @@ public class BaseFrameworkSystem {
      * \r
      * @return the client\r
      */\r
+    @Override\r
     public Client getClient () {\r
        return this.client;\r
     }\r
@@ -89,6 +91,7 @@ public class BaseFrameworkSystem {
      * Contact manager instance\r
      * @return the contactManager\r
      */\r
+    @Override\r
     public ManageableContact getContactManager () {\r
        return this.contactManager;\r
     }\r
index 4ab3bb58227d69549350b10e15c4bb8b58136108..ae1c570b247ab52c1b12c9c3b6777c8041bd585a 100644 (file)
@@ -16,6 +16,8 @@
  */\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
@@ -29,4 +31,18 @@ public interface FrameworkInterface {
      * @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