From: Roland Haeder Date: Tue, 29 Sep 2015 08:34:59 +0000 (+0200) Subject: auto-formatted project X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=785fa82dfbb76f7fe2bf44a17d9b6e27b2e8d236;p=jcore.git auto-formatted project Signed-off-by:Roland Häder --- diff --git a/build.xml b/build.xml index e4320c2..609cf52 100644 --- a/build.xml +++ b/build.xml @@ -69,5 +69,5 @@ properties which you can use, check the target you are overriding in the nbproject/build-impl.xml file. - --> + --> diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml index 39defef..ab0811c 100644 --- a/nbproject/build-impl.xml +++ b/nbproject/build-impl.xml @@ -18,1421 +18,1421 @@ is divided into following sections: - applet - cleanup - --> +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set test.src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nbproject/project.xml b/nbproject/project.xml index 1bb0f6c..221d54a 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -1,18 +1,18 @@ - org.netbeans.modules.java.j2seproject - - - jcore - - - - - - - - - ./lib/nblibraries.properties - - + org.netbeans.modules.java.j2seproject + + + jcore + + + + + + + + + ./lib/nblibraries.properties + + diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index f1817c1..960f356 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -29,7 +29,7 @@ import org.mxchange.jcore.model.contact.Contact; /** * General class - * + *

* @author Roland Haeder */ public abstract class BaseFrameworkSystem implements FrameworkInterface { @@ -88,7 +88,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Getter for this application - * + *

* @return Instance from this application */ public static FrameworkInterface getInstance () { @@ -114,7 +114,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Converts null to empty string or leaves original object untouched. - * + *

* @param object Any string * @return Empty string if null or original string TODO: Move to own utility * class @@ -138,7 +138,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Some "getter" for an array from given string and tokenizer - * + *

* @param str String to tokenize and get array from * @param delimiter Delimiter * @return Array from tokenized string TODO Get rid of size parameter TODO: @@ -176,7 +176,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Client instance - * + *

* @param client the client to set */ protected void setClient (final Client client) { @@ -185,7 +185,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Application instance - * + *

* @param application the application to set */ protected void setApplication (final Application application) { @@ -199,7 +199,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Getter for Contact instance - * + *

* @return Contact instance */ protected Contact getContact () { @@ -208,7 +208,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Setter for Contact instance - * + *

* @param contact A Contact instance */ protected void setContact (final Contact contact) { @@ -217,7 +217,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Manager instance - * + *

* @param manager the manager instance to set */ protected void setManager (final Manageable manager) { @@ -232,7 +232,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Aborts program with given exception - * + *

* @param throwable Any type of Throwable */ protected void abortProgramWithException (final Throwable throwable) { @@ -245,7 +245,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Getter for bundle instance - * + *

* @return Resource bundle */ protected ResourceBundle getBundle () { @@ -254,7 +254,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Setter for bundle instance - * + *

* @param bundle the bundle to set */ protected static void setBundle (final ResourceBundle bundle) { @@ -263,7 +263,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Getter for logger instance - * + *

* @return Logger instance */ protected Logger getLogger () { @@ -292,7 +292,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Checks if the bundle is initialized - * + *

* @return Whether the bundle has been initialized */ protected static boolean isBundledInitialized () { diff --git a/src/org/mxchange/jcore/FrameworkInterface.java b/src/org/mxchange/jcore/FrameworkInterface.java index a0e42a7..fc3d260 100644 --- a/src/org/mxchange/jcore/FrameworkInterface.java +++ b/src/org/mxchange/jcore/FrameworkInterface.java @@ -22,7 +22,7 @@ import org.mxchange.jcore.manager.Manageable; /** * A general interface which should be always expanded - * + *

* @author Roland Haeder */ public interface FrameworkInterface { @@ -34,28 +34,28 @@ public interface FrameworkInterface { /** * Application instance - * + *

* @return the application */ public Application getApplication (); /** * Client instance - * + *

* @return the client */ public Client getClient (); /** * Getter for manager - * + *

* @return Manager instance */ public Manageable getManager (); /** * Getter for human-readable string from given key - * + *

* @param key Key to return * @return Human-readable message */ @@ -63,7 +63,7 @@ public interface FrameworkInterface { /** * Logs given exception - * + *

* @param exception Exception to log */ public void logException (final Throwable exception); diff --git a/src/org/mxchange/jcore/application/Application.java b/src/org/mxchange/jcore/application/Application.java index 4ebafd0..ddc52aa 100644 --- a/src/org/mxchange/jcore/application/Application.java +++ b/src/org/mxchange/jcore/application/Application.java @@ -38,7 +38,7 @@ public interface Application extends FrameworkInterface { /** * Shutdown the application - * + *

* @throws java.io.IOException If an IO error occurs * @throws java.sql.SQLException If a SQL error occurs */ diff --git a/src/org/mxchange/jcore/application/BaseApplication.java b/src/org/mxchange/jcore/application/BaseApplication.java index e35a01c..b60f9c6 100644 --- a/src/org/mxchange/jcore/application/BaseApplication.java +++ b/src/org/mxchange/jcore/application/BaseApplication.java @@ -20,7 +20,7 @@ import org.mxchange.jcore.BaseFrameworkSystem; /** * A general application class - * + *

* @author Roland Haeder */ public abstract class BaseApplication extends BaseFrameworkSystem implements Application { diff --git a/src/org/mxchange/jcore/client/BaseClient.java b/src/org/mxchange/jcore/client/BaseClient.java index 3a1d676..ae432cd 100644 --- a/src/org/mxchange/jcore/client/BaseClient.java +++ b/src/org/mxchange/jcore/client/BaseClient.java @@ -22,7 +22,7 @@ import org.mxchange.jcore.BaseFrameworkSystem; /** * A general client - * + *

* @author Roland Haeder */ public abstract class BaseClient extends BaseFrameworkSystem implements Client { diff --git a/src/org/mxchange/jcore/client/Client.java b/src/org/mxchange/jcore/client/Client.java index 66c5b9c..82d83b8 100644 --- a/src/org/mxchange/jcore/client/Client.java +++ b/src/org/mxchange/jcore/client/Client.java @@ -23,35 +23,35 @@ import org.mxchange.jcore.model.contact.Contact; /** * An interface for application clients - * + *

* @author Roland Haeder */ public interface Client extends FrameworkInterface { /** * Displays a "box" for the address - * + *

* @param contact Contact to show address from */ public void displayAddressBox (final Contact contact); /** * Displays a "box" for the name - * + *

* @param contact Contact to show name from */ public void displayNameBox (final Contact contact); /** * Displays a "box" for other data - * + *

* @param contact Contact to show other data from */ public void displayOtherDataBox (final Contact contact); /** * Shuts down the client and therefore whole application - * + *

* @throws java.io.IOException If an IO error occurs * @throws java.sql.SQLException If a SQL error occurs */ @@ -69,14 +69,14 @@ public interface Client extends FrameworkInterface { /** * Determines whether the client is still active by checking some conditions - * + *

* @return Whether the client is still active */ public boolean isRunning (); /** * Displays a message to the user - * + *

* @param message Message to show to the user */ public void outputMessage (final String message); diff --git a/src/org/mxchange/jcore/exceptions/FrameAlreadyInitializedException.java b/src/org/mxchange/jcore/exceptions/FrameAlreadyInitializedException.java index 6f5ff78..e7a0984 100644 --- a/src/org/mxchange/jcore/exceptions/FrameAlreadyInitializedException.java +++ b/src/org/mxchange/jcore/exceptions/FrameAlreadyInitializedException.java @@ -18,7 +18,7 @@ package org.mxchange.jcore.exceptions; /** * This exception is thrown when initFrame() is called twice. - * + *

* @author Roland Haeder */ public class FrameAlreadyInitializedException extends Exception { diff --git a/src/org/mxchange/jcore/exceptions/UnhandledUserChoiceException.java b/src/org/mxchange/jcore/exceptions/UnhandledUserChoiceException.java index d8f6eaa..26486de 100644 --- a/src/org/mxchange/jcore/exceptions/UnhandledUserChoiceException.java +++ b/src/org/mxchange/jcore/exceptions/UnhandledUserChoiceException.java @@ -19,7 +19,7 @@ package org.mxchange.jcore.exceptions; /** * This exception is thrown when the user made a valid choice but it was not * handled by the program. - * + *

* @author Roland Haeder */ public class UnhandledUserChoiceException extends Exception { diff --git a/src/org/mxchange/jcore/manager/BaseManager.java b/src/org/mxchange/jcore/manager/BaseManager.java index 7d005d5..3445f98 100644 --- a/src/org/mxchange/jcore/manager/BaseManager.java +++ b/src/org/mxchange/jcore/manager/BaseManager.java @@ -20,7 +20,7 @@ import org.mxchange.jcore.BaseFrameworkSystem; /** * A general manager - * + *

* @author Roland Haeder * @version 0.0 */ diff --git a/src/org/mxchange/jcore/manager/Manageable.java b/src/org/mxchange/jcore/manager/Manageable.java index b19a38f..5213c74 100644 --- a/src/org/mxchange/jcore/manager/Manageable.java +++ b/src/org/mxchange/jcore/manager/Manageable.java @@ -22,14 +22,14 @@ import org.mxchange.jcore.FrameworkInterface; /** * A general interface for any kind of manager classes - * + *

* @author Roland Haeder */ public interface Manageable extends FrameworkInterface { /** * Shuts down this contact manager - * + *

* @throws java.sql.SQLException If an SQL error occurs * @throws java.io.IOException If an IO error occurs */ diff --git a/src/org/mxchange/jcore/manager/application/ApplicationManager.java b/src/org/mxchange/jcore/manager/application/ApplicationManager.java index 34e1303..33a8f25 100644 --- a/src/org/mxchange/jcore/manager/application/ApplicationManager.java +++ b/src/org/mxchange/jcore/manager/application/ApplicationManager.java @@ -21,7 +21,7 @@ import org.mxchange.jcore.manager.BaseManager; /** * Application manager - * + *

* @author Roland Haeder */ public class ApplicationManager extends BaseManager implements ManageableApplication { @@ -33,7 +33,7 @@ public class ApplicationManager extends BaseManager implements ManageableApplica /** * Getter for a singleton application manager - * + *

* @param application An instance of a Application class * @return Get a managable application */ @@ -56,7 +56,7 @@ public class ApplicationManager extends BaseManager implements ManageableApplica /** * Constructor for this manager - * + *

* @param application An instance of an Application class */ private ApplicationManager (final Application application) { diff --git a/src/org/mxchange/jcore/manager/application/ManageableApplication.java b/src/org/mxchange/jcore/manager/application/ManageableApplication.java index def5cef..24dfe6c 100644 --- a/src/org/mxchange/jcore/manager/application/ManageableApplication.java +++ b/src/org/mxchange/jcore/manager/application/ManageableApplication.java @@ -20,7 +20,7 @@ import org.mxchange.jcore.manager.Manageable; /** * An interface for application manager - * + *

* @author Roland Haeder */ public interface ManageableApplication extends Manageable { diff --git a/src/org/mxchange/jcore/model/contact/Contact.java b/src/org/mxchange/jcore/model/contact/Contact.java index c4a4fc7..41cb0de 100644 --- a/src/org/mxchange/jcore/model/contact/Contact.java +++ b/src/org/mxchange/jcore/model/contact/Contact.java @@ -23,280 +23,280 @@ import org.mxchange.jcore.model.contact.gender.Gender; /** * A general contact interface - * + *

* @author Roland Haeder */ public interface Contact extends Serializable { /** * Copies all attributes from other contact object to this - * + *

* @param contact Source instance */ public void copyAll (final Contact contact); /** * Birth day - * + *

* @return the birthday */ public Date getBirthday (); /** * Birth day - * + *

* @param birthday the birthday to set */ public void setBirthday (final Date birthday); /** * Cellphone number - * + *

* @return the cellphoneNumber */ public String getCellphoneNumber (); /** * Cellphone number - * + *

* @param cellphoneNumber the cellphoneNumber to set */ public void setCellphoneNumber (final String cellphoneNumber); /** * City - * + *

* @return the city */ public String getCity (); /** * City - * + *

* @param city the city to set */ public void setCity (final String city); /** * Comments - * + *

* @return the comment */ public String getComment (); /** * Comments - * + *

* @param comment the comment to set */ public void setComment (final String comment); /** * Company name - * + *

* @return the companyName */ public String getCompanyName (); /** * Company name - * + *

* @param companyName the companyName to set */ public void setCompanyName (final String companyName); /** * Id number - * + *

* @return the contactId */ public Long getContactId (); /** * Id number - * + *

* @param id the contactId to set */ public void setContactId (final Long id); /** * Country code - * + *

* @return the countryCode */ public String getCountryCode (); /** * Country code - * + *

* @param countryCode the countryCode to set */ public void setCountryCode (final String countryCode); /** * Getter for "created" timestamp - * + *

* @return "created" timestamp */ public Calendar getCreated (); /** * Setter for "created" timestamp - * + *

* @param created "created" timestamp */ public void setCreated (final Calendar created); /** * Email address - * + *

* @return the emailAddress */ public String getEmailAddress (); /** * Email address - * + *

* @param emailAddress the emailAddress to set */ public void setEmailAddress (final String emailAddress); /** * Family name - * + *

* @return the familyName */ public String getFamilyName (); /** * Family name - * + *

* @param familyName the familyName to set */ public void setFamilyName (final String familyName); /** * Fax number - * + *

* @return the faxNumber */ public String getFaxNumber (); /** * Fax number - * + *

* @param faxNumber the faxNumber to set */ public void setFaxNumber (final String faxNumber); /** * First name - * + *

* @return the first name */ public String getFirstName (); /** * First name - * + *

* @param firstName the first name to set */ public void setFirstName (final String firstName); /** * Gender of the contact - * + *

* @return the gender */ public Gender getGender (); /** * Gender of the contact - * + *

* @param gender the gender to set */ public void setGender (final Gender gender); /** * House number - * + *

* @return the houseNumber */ public Short getHouseNumber (); /** * House number - * + *

* @param houseNumber the houseNumber to set */ public void setHouseNumber (final Short houseNumber); /** * Setter for own contact - * + *

* @param ownContact Own contact */ public void setOwnContact (final Boolean ownContact); /** * Phone number - * + *

* @return the phoneNumber */ public String getPhoneNumber (); /** * Phone number - * + *

* @param phoneNumber the phoneNumber to set */ public void setPhoneNumber (final String phoneNumber); /** * Street - * + *

* @return the street */ public String getStreet (); /** * Street - * + *

* @param street the street to set */ public void setStreet (final String street); /** * Getter for "updated" timestamp - * + *

* @return "updated" timestamp */ public Calendar getUpdated (); /** * Getter for "updated" timestamp - * + *

* @param updated "updated" timestamp */ public void setUpdated (final Calendar updated); /** * ZIP code - * + *

* @return the zipCode */ public Long getZipCode (); /** * ZIP code - * + *

* @param zipCode the zipCode to set */ public void setZipCode (final Long zipCode); /** * Checks whether the contact is user's own data - * + *

* @return Own data? */ public Boolean isOwnContact (); diff --git a/src/org/mxchange/jcore/model/contact/UserContact.java b/src/org/mxchange/jcore/model/contact/UserContact.java index 7197719..549d045 100644 --- a/src/org/mxchange/jcore/model/contact/UserContact.java +++ b/src/org/mxchange/jcore/model/contact/UserContact.java @@ -37,7 +37,7 @@ import org.mxchange.jcore.model.contact.gender.Gender; /** * A general contact class which should only be extended. - * + *

* @author Roland Haeder * @version 0.0 */ @@ -135,7 +135,7 @@ public class UserContact implements Contact, Comparable { */ @Basic (optional = false) @Column (name = "gender", nullable = false) - @Enumerated(EnumType.STRING) + @Enumerated (EnumType.STRING) private Gender gender; /** @@ -177,7 +177,7 @@ public class UserContact implements Contact, Comparable { /** * Constructor for gender and names - * + *

* @param gender Gender instance * @param firstName First name * @param familyName Family name @@ -198,7 +198,7 @@ public class UserContact implements Contact, Comparable { /** * Compares two contacts with each other - * + *

* @param contact Contact comparator * @return Comparison value */ @@ -248,7 +248,7 @@ public class UserContact implements Contact, Comparable { /** * Check if contacts are same or throw an exception - * + *

* @param object Other possible contact class * @return Whether both contacts are same TODO Needs a lot improvements */ @@ -486,7 +486,7 @@ public class UserContact implements Contact, Comparable { /** * Shows this contact to the user. - * + *

* @param client Client instance to use * @deprecated Should not be called here */ diff --git a/src/org/mxchange/jcore/model/contact/gender/Gender.java b/src/org/mxchange/jcore/model/contact/gender/Gender.java index dae2e5b..bc8747b 100644 --- a/src/org/mxchange/jcore/model/contact/gender/Gender.java +++ b/src/org/mxchange/jcore/model/contact/gender/Gender.java @@ -21,10 +21,11 @@ import java.text.MessageFormat; /** * Gender enum - * + *

* @author Roland Haeder */ public enum Gender implements Serializable { + /** * Unknown enum */ @@ -62,7 +63,7 @@ public enum Gender implements Serializable { /** * Getter for Gender enum from given character - * + *

* @param c Gender character * @return Gender enum */ @@ -93,7 +94,7 @@ public enum Gender implements Serializable { /** * Valid chars (mostly for console client) - * + *

* @return Valid chars */ public static char[] validChars () { @@ -114,7 +115,6 @@ public enum Gender implements Serializable { // Debug message //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("gender={0} - adding at pos {1} ...", gender, i)); - // Get access key as this is also the access valid[i] = gender.getAccessChar(); @@ -131,7 +131,7 @@ public enum Gender implements Serializable { /** * Constructor - * + *

* @param accessChar Value being entered by ConsoleClient * @param messageKey Message key for resource file */ @@ -143,7 +143,7 @@ public enum Gender implements Serializable { /** * Acces key (console client mostly) - * + *

* @return the accessChar */ public char getAccessChar () { @@ -152,7 +152,7 @@ public enum Gender implements Serializable { /** * Output value (for messages) - * + *

* @return the messageKey */ public String getMessageKey () { diff --git a/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java b/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java index c74b131..1c1b7d7 100644 --- a/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java +++ b/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java @@ -24,14 +24,14 @@ import org.mxchange.jcore.model.contact.Contact; /** * Gender utils class - * + *

* @author Roland Haeder */ public class GenderUtils extends BaseFrameworkSystem { /** * Translates contact's gender to human-readable - * + *

* @param contact Contact instance * @return Translates value (from bundle) */ @@ -69,7 +69,7 @@ public class GenderUtils extends BaseFrameworkSystem { /** * All selectable genders (not UNKNOWN) - * + *

* @return Selectable genders (not UNKNOWN) */ public static List selectableGenders () {