*
* @author Roland Haeder
*/
-public class BaseFrameworkSystem implements FrameworkInterface {
+public abstract class BaseFrameworkSystem implements FrameworkInterface {
/**
* Bundle instance
/**
* File name (and path) for internalization bundle
*/
- public static final String I18N_BUNDLE_FILE = "org/mxchange/localization/bundle";
+ public static final String I18N_BUNDLE_FILE = "org/mxchange/localization/bundle"; //NOI18N
/**
* Getter for manager
protected BaseClient () {
}
- /**
- * Shutdown method for all clients
- */
@Override
public void doShutdown () throws SQLException, IOException {
// Trace message
this.getLogger().trace("EXIT!"); //NOI18N
}
- /**
- * Enables the client
- */
@Override
- public final void enableIsRunning () {
+ public void enableIsRunning () {
this.isRunning = true;
}
- /**
- * Determines whether the application is still active by checking some
- * conditions
- *
- * @return Whether the application is still active
- */
@Override
- public final boolean isRunning () {
+ public boolean isRunning () {
// In console client, 0 may have been used
return this.isRunning;
}
/**
* Disables the client
*/
- protected final void disableIsRunning () {
+ protected void disableIsRunning () {
this.isRunning = false;
}
}
* @param application An instance of a Application class
* @return Get a managable application
*/
- public static final ManageableApplication getSingeltonManager (final Application application) {
+ public static ManageableApplication getSingeltonManager (final Application application) {
// Application instance must be set
if (null == application) {
// Abort here
* @author Roland Haeder
* @version 0.0
*/
-public class BaseContact extends BaseFrameworkSystem implements Contact, Comparable<Contact> {
+public abstract class BaseContact extends BaseFrameworkSystem implements Contact, Comparable<Contact> {
/**
* Id number
*/
protected BaseContact () {
// Fake gender
- this.setGender(Gender.UNKNOWN);
+ this.gender = Gender.UNKNOWN;
}
/**