From: Roland Haeder Date: Tue, 12 Apr 2016 16:31:08 +0000 (+0200) Subject: removed calendar argument as the EJB should take care of this X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fd83694124b57825705ecda45997b9c7b872daa8;p=jphone-core.git removed calendar argument as the EJB should take care of this --- diff --git a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java index 55a8c0b..882fd9b 100644 --- a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java @@ -78,27 +78,25 @@ public class CellphoneNumber implements DialableCellphoneNumber { @Column (name = "cellphone_number", nullable = false) private Long phoneNumber; + /** + * Default constructor + */ + public CellphoneNumber () { + } + /** * Constructor with cellphone provider and number *

* @param cellphoneProvider Cellphone provider instance * @param cellphoneNumber Cellphone number - * @param phoneEntryCreated When this entry has been created */ - public CellphoneNumber (final SmsProvider cellphoneProvider, final Long cellphoneNumber, final Calendar phoneEntryCreated) { + public CellphoneNumber (final SmsProvider cellphoneProvider, final Long cellphoneNumber) { // Call default constructor this(); // Set all values this.cellphoneProvider = cellphoneProvider; this.phoneNumber = cellphoneNumber; - this.phoneEntryCreated = phoneEntryCreated; - } - - /** - * Default constructor - */ - public CellphoneNumber () { } @Override diff --git a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java index 9042353..18db59d 100644 --- a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java @@ -84,15 +84,20 @@ public class FaxNumber implements DialableFaxNumber { @Column (name = "fax_number", nullable = false) private Long phoneNumber; + /** + * Default constructor + */ + public FaxNumber () { + } + /** * Constructor with country, area code and number *

* @param faxCountry Country instance * @param faxAreaCode Area code (without leading zeros) * @param faxNumber Fax number (without area code and leading zero) - * @param phoneEntryCreated When this entry has been created */ - public FaxNumber (final Country faxCountry, final Integer faxAreaCode, final Long faxNumber, final Calendar phoneEntryCreated) { + public FaxNumber (final Country faxCountry, final Integer faxAreaCode, final Long faxNumber) { // Call default constructor this(); @@ -100,13 +105,6 @@ public class FaxNumber implements DialableFaxNumber { this.faxCountry = faxCountry; this.faxAreaCode = faxAreaCode; this.phoneNumber = faxNumber; - this.phoneEntryCreated = phoneEntryCreated; - } - - /** - * Default constructor - */ - public FaxNumber () { } @Override diff --git a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java index 6a18fc0..52d8932 100644 --- a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java @@ -84,15 +84,20 @@ public class LandLineNumber implements DialableLandLineNumber { @Column (name = "phone_number", nullable = false) private Long phoneNumber; + /** + * Default constructor + */ + public LandLineNumber () { + } + /** * Constructor with country instance, area code and number *

* @param phoneCountry Country instance * @param phoneAreaCode Phone area code * @param phoneNumber Phone number - * @param phoneEntryCreated When this entry has been created */ - public LandLineNumber (final Country phoneCountry, final Integer phoneAreaCode, final Long phoneNumber, final Calendar phoneEntryCreated) { + public LandLineNumber (final Country phoneCountry, final Integer phoneAreaCode, final Long phoneNumber) { // Call default constructor this(); @@ -100,13 +105,6 @@ public class LandLineNumber implements DialableLandLineNumber { this.phoneCountry = phoneCountry; this.phoneAreaCode = phoneAreaCode; this.phoneNumber = phoneNumber; - this.phoneEntryCreated = phoneEntryCreated; - } - - /** - * Default constructor - */ - public LandLineNumber () { } @Override diff --git a/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java b/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java index 09816e5..a41afe5 100644 --- a/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java +++ b/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java @@ -98,12 +98,11 @@ public class CellphoneProvider implements SmsProvider { /** * Constructor with all required data *

- * @param providerDialPrefix Dial prefix - * @param providerName Name - * @param providerCountry Country - * @param providerEntryCreated When this entry has been created + * @param providerDialPrefix Dial prefix + * @param providerName Name + * @param providerCountry Country */ - public CellphoneProvider (final Long providerDialPrefix, final String providerName, final Country providerCountry, final Calendar providerEntryCreated) { + public CellphoneProvider (final Long providerDialPrefix, final String providerName, final Country providerCountry) { // Call default constructor this(); @@ -111,7 +110,6 @@ public class CellphoneProvider implements SmsProvider { this.providerDialPrefix = providerDialPrefix; this.providerName = providerName; this.providerCountry = providerCountry; - this.providerEntryCreated = providerEntryCreated; } /**