From 1807df92eca8b8998a5cc85d94554d7943028ec9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 22 Apr 2020 22:37:08 +0200 Subject: [PATCH] Continued: - added companyRoadNumber as German companies (mostly those producing dairy products MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/basicdata/BasicData.java | 14 ++++++++++++++ .../model/basicdata/BusinessBasicData.java | 16 ++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicData.java b/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicData.java index 1550aa7..5f3e99c 100644 --- a/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicData.java +++ b/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicData.java @@ -244,6 +244,20 @@ public interface BasicData extends Comparable, Serializable { */ void setCompanyLandLineNumber (final DialableLandLineNumber companyPhoneNumber); + /** + * Getter for company road number + *

+ * @return Company road number + */ + String getCompanyRoadNumber (); + + /** + * Setter for company road number + *

+ * @param companyRoadNumber Company road number + */ + void setCompanyRoadNumber (final String companyRoadNumber); + /** * Getter for tax number *

diff --git a/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java b/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java index cef481b..f7d26e5 100644 --- a/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java +++ b/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java @@ -162,6 +162,12 @@ public class BusinessBasicData implements BasicData { @Column (name = "company_name", unique = true) private String companyName; + /** + * COmpany road number + */ + @Column (name = "company_road_number", length = 10, unique = true) + private String companyRoadNumber; + /** * Short company name */ @@ -402,6 +408,16 @@ public class BusinessBasicData implements BasicData { this.companyName = companyName; } + @Override + public String getCompanyRoadNumber () { + return this.companyRoadNumber; + } + + @Override + public void setCompanyRoadNumber (final String companyRoadNumber) { + this.companyRoadNumber = companyRoadNumber; + } + @Override public String getCompanyShortName () { return this.companyShortName; -- 2.39.5