]> git.mxchange.org Git - jphone-core.git/commitdiff
removed calendar argument as the EJB should take care of this
authorRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 16:31:08 +0000 (18:31 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 16:37:29 +0000 (18:37 +0200)
src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java
src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java
src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java
src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java

index 55a8c0be0ded164dd773db686fd558667d5495e2..882fd9b2faf518487a051aee57dba45c1816a5bf 100644 (file)
@@ -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
         * <p>
         * @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
index 904235345eef903681014d9e48443f1078cbdbee..18db59db3d5d65fd265792093ee9e0280dcdfb5b 100644 (file)
@@ -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
         * <p>
         * @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
index 6a18fc09ada9aa43a4504929635475b9ef6ec721..52d89327cce37df3999ae3f23759e2b632a5e070 100644 (file)
@@ -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
         * <p>
         * @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
index 09816e557bd12c9fdfbde00bcd5d7c8141fd9b7a..a41afe563592ab1e8550afd617243b1eb882c9d7 100644 (file)
@@ -98,12 +98,11 @@ public class CellphoneProvider implements SmsProvider {
        /**
         * Constructor with all required data
         * <p>
-        * @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;
        }
 
        /**