From: Roland Häder Date: Wed, 22 Apr 2020 20:37:08 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1807df92eca8b8998a5cc85d94554d7943028ec9;p=jcontacts-business-core.git Continued: - added companyRoadNumber as German companies (mostly those producing dairy products Signed-off-by: Roland Häder --- 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;