import java.util.List;\r
import org.mxchange.addressbook.UnhandledUserChoiceException;\r
import org.mxchange.addressbook.client.Client;\r
+import org.mxchange.addressbook.contact.BaseContact;\r
import org.mxchange.addressbook.contact.Contact;\r
import org.mxchange.addressbook.database.frontend.contact.ContactDatabaseFrontend;\r
import org.mxchange.addressbook.database.frontend.contact.ContactWrapper;\r
*\r
* @author Roland Haeder\r
* @version 0.0\r
- * @since 0.0\r
*/\r
public class ContactManager extends BaseManager implements ManageableContact {\r
\r
\r
/**\r
* Asks the user for own ZIP code\r
+ * \r
* @return ZIP code\r
*/\r
@Override\r
return this.getClient().enterInt(0, 99_999, "Bitte geben Sie Ihre Postleitzahl ein: ");\r
}\r
\r
+ @Override\r
+ public int getColumnCount () {\r
+ /*\r
+ * Return constant, may look useful. But without this, e.g. the\r
+ * AddressTableModel have a hard-coded value.\r
+ */\r
+ return BaseContact.COLUMN_COUNT;\r
+ }\r
+\r
/**\r
* Getter for whole contact list\r
*\r