From 95d810e414884e8dc653850ada77625afc8167ba Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 10 Oct 2015 23:21:38 +0200 Subject: [PATCH] added fax and phone number references for headquarters --- .../headquarters/CompanyHeadQuartersData.java | 40 ++++++++++++++++++- .../headquarters/HeadQuartersData.java | 30 ++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) diff --git a/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java b/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java index bc80e19..aa5479b 100644 --- a/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java +++ b/src/org/mxchange/jcontactsbusiness/headquarters/CompanyHeadQuartersData.java @@ -28,6 +28,10 @@ import javax.persistence.OneToOne; import javax.persistence.Table; import org.mxchange.jcountry.data.Country; import org.mxchange.jcountry.data.CountryData; +import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; +import org.mxchange.jphone.phonenumbers.fax.FaxNumber; +import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; +import org.mxchange.jphone.phonenumbers.landline.LandLineNumber; /** * A POJO for company headquarts data @@ -54,7 +58,7 @@ public class CompanyHeadQuartersData implements HeadQuartersData, Comparable + * @return Headquarters' phone number + */ + public DialableLandLineNumber getHeadquartersPhoneNumber (); + + /** + * Setter for headquarters' phone number + *

+ * @param headquartersPhoneNumber Headquarters' phone number + */ + public void setHeadquartersPhoneNumber (final DialableLandLineNumber headquartersPhoneNumber); + + /** + * Getter for headquarters' fax number + *

+ * @return Headquarters' fax number + */ + public DialableFaxNumber getHeadquartersFaxNumber (); + + /** + * Setter for headquarters' fax number + *

+ * @param headquartersFaxNumber Headquarters' fax number + */ + public void setHeadquartersFaxNumber (final DialableFaxNumber headquartersFaxNumber); } -- 2.39.5