]> git.mxchange.org Git - jphone-core.git/commitdiff
Continued with land-line:
authorRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 12:58:24 +0000 (14:58 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 13:12:30 +0000 (15:12 +0200)
- added events for land-line and fax numbers (maybe some are still missing)
- renamed cellphone -> mobile
- fixed some comments

18 files changed:
src/org/mxchange/jphone/events/fax/deleted/AdminDeletedFaxNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/fax/deleted/AdminFaxNumberDeletedEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/fax/removed/AdminFaxNumberRemovedFromListEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/fax/removed/AdminRemoveFaxNumberFromListEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/fax/updated/AdminFaxNumberUpdatedEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/fax/updated/AdminUpdatedFaxNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/landline/deleted/AdminDeletedLandLineNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/landline/deleted/AdminLandLineNumberDeletedEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/landline/removed/AdminLandLineNumberRemovedFromListEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/landline/removed/AdminRemoveLandLineNumberFromListEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/landline/updated/AdminLandLineNumberUpdatedEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/landline/updated/AdminUpdatedLandLineNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/mobile/deleted/AdminDeletedMobileNumberEvent.java
src/org/mxchange/jphone/events/mobile/deleted/AdminMobileNumberDeletedEvent.java
src/org/mxchange/jphone/events/mobile/remove/AdminMobileNumberRemovedFromListEvent.java
src/org/mxchange/jphone/events/mobile/remove/AdminRemoveMobileNumberFromListEvent.java
src/org/mxchange/jphone/events/mobile/updated/AdminMobileNumberUpdatedEvent.java
src/org/mxchange/jphone/events/mobile/updated/AdminUpdatedMobileNumberEvent.java

diff --git a/src/org/mxchange/jphone/events/fax/deleted/AdminDeletedFaxNumberEvent.java b/src/org/mxchange/jphone/events/fax/deleted/AdminDeletedFaxNumberEvent.java
new file mode 100644 (file)
index 0000000..d76e081
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.fax.deleted;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An interface for an event when a fax number has been deleted
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminDeletedFaxNumberEvent extends Serializable {
+
+       /**
+        * Getter for deleted fax numbers
+        * <p>
+        * @return Deleted fax numbers
+        */
+       DialableFaxNumber getDeletedFaxNumber ();
+
+}
diff --git a/src/org/mxchange/jphone/events/fax/deleted/AdminFaxNumberDeletedEvent.java b/src/org/mxchange/jphone/events/fax/deleted/AdminFaxNumberDeletedEvent.java
new file mode 100644 (file)
index 0000000..81c6282
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.fax.deleted;
+
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An event when a land-line number has been deleted
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminFaxNumberDeletedEvent implements AdminDeletedFaxNumberEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 18_521_758_718_691_064L;
+
+       /**
+        * Updated land-line number
+        */
+       private final DialableFaxNumber deletedFaxNumber;
+
+       /**
+        * Constructor with deleted land-line number
+        * <p>
+        * @param deletedFaxNumber Deleted land-line number
+        */
+       public AdminFaxNumberDeletedEvent (final DialableFaxNumber deletedFaxNumber) {
+               // Set it here
+               this.deletedFaxNumber = deletedFaxNumber;
+       }
+
+       @Override
+       public DialableFaxNumber getDeletedFaxNumber () {
+               return this.deletedFaxNumber;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/fax/removed/AdminFaxNumberRemovedFromListEvent.java b/src/org/mxchange/jphone/events/fax/removed/AdminFaxNumberRemovedFromListEvent.java
new file mode 100644 (file)
index 0000000..088820c
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.fax.removed;
+
+import java.util.List;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An event when a mobile number list needs been cleared
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminFaxNumberRemovedFromListEvent implements AdminRemoveFaxNumberFromListEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 18_521_758_718_691_064L;
+
+       /**
+        * Mobile number list
+        */
+       private final List<DialableFaxNumber> faxNumberList;
+
+       /**
+        * Constructor with fax number list
+        * <p>
+        * @param faxNumberList Fax number list
+        */
+       public AdminFaxNumberRemovedFromListEvent (final List<DialableFaxNumber> faxNumberList) {
+               // Set it here
+               this.faxNumberList = faxNumberList;
+       }
+
+       @Override
+       @SuppressWarnings ("ReturnOfCollectionOrArrayField")
+       public List<DialableFaxNumber> getFaxNumberList () {
+               return this.faxNumberList;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/fax/removed/AdminRemoveFaxNumberFromListEvent.java b/src/org/mxchange/jphone/events/fax/removed/AdminRemoveFaxNumberFromListEvent.java
new file mode 100644 (file)
index 0000000..7ae77c2
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.fax.removed;
+
+import java.io.Serializable;
+import java.util.List;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An interface for an event when a list needs to be cleared from fax
+ * numbers.
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminRemoveFaxNumberFromListEvent extends Serializable {
+
+       /**
+        * Getter for fax numer list
+        * <p>
+        * @return fax number list
+        */
+       List<DialableFaxNumber> getFaxNumberList ();
+
+}
diff --git a/src/org/mxchange/jphone/events/fax/updated/AdminFaxNumberUpdatedEvent.java b/src/org/mxchange/jphone/events/fax/updated/AdminFaxNumberUpdatedEvent.java
new file mode 100644 (file)
index 0000000..dbef1aa
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.fax.updated;
+
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An event when a fax number has been updated
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminFaxNumberUpdatedEvent implements AdminUpdatedFaxNumberEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 18_521_758_718_691_064L;
+
+       /**
+        * Updated fax provider instance
+        */
+       private final DialableFaxNumber updatedFaxNumber;
+
+       /**
+        * Constructor with updated fax number
+        * <p>
+        * @param updatedFaxNumber Updated fax number
+        */
+       public AdminFaxNumberUpdatedEvent (final DialableFaxNumber updatedFaxNumber) {
+               // Set it here
+               this.updatedFaxNumber = updatedFaxNumber;
+       }
+
+       @Override
+       public DialableFaxNumber getUpdatedFaxNumber () {
+               return this.updatedFaxNumber;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/fax/updated/AdminUpdatedFaxNumberEvent.java b/src/org/mxchange/jphone/events/fax/updated/AdminUpdatedFaxNumberEvent.java
new file mode 100644 (file)
index 0000000..10d7464
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.fax.updated;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An interface for an event when a fax number has been updated
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminUpdatedFaxNumberEvent extends Serializable {
+
+       /**
+        * Getter for updated fax numbers
+        * <p>
+        * @return Updated fax numbers
+        */
+       DialableFaxNumber getUpdatedFaxNumber ();
+
+}
diff --git a/src/org/mxchange/jphone/events/landline/deleted/AdminDeletedLandLineNumberEvent.java b/src/org/mxchange/jphone/events/landline/deleted/AdminDeletedLandLineNumberEvent.java
new file mode 100644 (file)
index 0000000..352d4b2
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.landline.deleted;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An interface for an event when a land-line number has been deleted
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminDeletedLandLineNumberEvent extends Serializable {
+
+       /**
+        * Getter for deleted land-line numbers
+        * <p>
+        * @return Deleted land-line numbers
+        */
+       DialableLandLineNumber getDeletedLandLineNumber ();
+
+}
diff --git a/src/org/mxchange/jphone/events/landline/deleted/AdminLandLineNumberDeletedEvent.java b/src/org/mxchange/jphone/events/landline/deleted/AdminLandLineNumberDeletedEvent.java
new file mode 100644 (file)
index 0000000..524390a
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.landline.deleted;
+
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An event when a land-line number has been deleted
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminLandLineNumberDeletedEvent implements AdminDeletedLandLineNumberEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 18_521_758_718_691_064L;
+
+       /**
+        * Updated land-line number
+        */
+       private final DialableLandLineNumber deletedLandLineNumber;
+
+       /**
+        * Constructor with deleted land-line number
+        * <p>
+        * @param deletedLandLineNumber Deleted land-line number
+        */
+       public AdminLandLineNumberDeletedEvent (final DialableLandLineNumber deletedLandLineNumber) {
+               // Set it here
+               this.deletedLandLineNumber = deletedLandLineNumber;
+       }
+
+       @Override
+       public DialableLandLineNumber getDeletedLandLineNumber () {
+               return this.deletedLandLineNumber;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/landline/removed/AdminLandLineNumberRemovedFromListEvent.java b/src/org/mxchange/jphone/events/landline/removed/AdminLandLineNumberRemovedFromListEvent.java
new file mode 100644 (file)
index 0000000..bf1f3cd
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.landline.removed;
+
+import java.util.List;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An event when a mobile number list needs been cleared
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminLandLineNumberRemovedFromListEvent implements AdminRemoveLandLineNumberFromListEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 18_521_758_718_691_064L;
+
+       /**
+        * Mobile number list
+        */
+       private final List<DialableLandLineNumber> landLineNumberList;
+
+       /**
+        * Constructor with mobile number list
+        * <p>
+        * @param mobileNumberList Mobile number list
+        */
+       public AdminLandLineNumberRemovedFromListEvent (final List<DialableLandLineNumber> mobileNumberList) {
+               // Set it here
+               this.landLineNumberList = mobileNumberList;
+       }
+
+       @Override
+       @SuppressWarnings ("ReturnOfCollectionOrArrayField")
+       public List<DialableLandLineNumber> getLandLineNumberList () {
+               return this.landLineNumberList;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/landline/removed/AdminRemoveLandLineNumberFromListEvent.java b/src/org/mxchange/jphone/events/landline/removed/AdminRemoveLandLineNumberFromListEvent.java
new file mode 100644 (file)
index 0000000..5c0735c
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.landline.removed;
+
+import java.io.Serializable;
+import java.util.List;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An interface for an event when a list needs to be cleared from land-line
+ * numbers.
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminRemoveLandLineNumberFromListEvent extends Serializable {
+
+       /**
+        * Getter for land-line numer list
+        * <p>
+        * @return Land-line number list
+        */
+       List<DialableLandLineNumber> getLandLineNumberList ();
+
+}
diff --git a/src/org/mxchange/jphone/events/landline/updated/AdminLandLineNumberUpdatedEvent.java b/src/org/mxchange/jphone/events/landline/updated/AdminLandLineNumberUpdatedEvent.java
new file mode 100644 (file)
index 0000000..ddf18d9
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.landline.updated;
+
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An event when a mobile number has been updated
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminLandLineNumberUpdatedEvent implements AdminUpdatedLandLineNumberEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 18_521_758_718_691_064L;
+
+       /**
+        * Updated mobile provider instance
+        */
+       private final DialableLandLineNumber updatedLandLineNumber;
+
+       /**
+        * Constructor with updated mobile number
+        * <p>
+        * @param updatedLandLineNumber Updated mobile number
+        */
+       public AdminLandLineNumberUpdatedEvent (final DialableLandLineNumber updatedLandLineNumber) {
+               // Set it here
+               this.updatedLandLineNumber = updatedLandLineNumber;
+       }
+
+       @Override
+       public DialableLandLineNumber getUpdatedLandLineNumber () {
+               return this.updatedLandLineNumber;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/landline/updated/AdminUpdatedLandLineNumberEvent.java b/src/org/mxchange/jphone/events/landline/updated/AdminUpdatedLandLineNumberEvent.java
new file mode 100644 (file)
index 0000000..b1436ca
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events.landline.updated;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An interface for an event when a land-line number has been updated
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminUpdatedLandLineNumberEvent extends Serializable {
+
+       /**
+        * Getter for updated land-line numbers
+        * <p>
+        * @return Updated land-line numbers
+        */
+       DialableLandLineNumber getUpdatedLandLineNumber ();
+
+}
index b7188e2c14e95a2c136199197eafc05652a60622..c9159bfd92c76666d6dd34d16443f58b76fa4773 100644 (file)
@@ -20,17 +20,17 @@ import java.io.Serializable;
 import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 
 /**
- * An interface for an event when a cell phone number has been updated
+ * An interface for an event when a mobile number has been deleted
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface AdminDeletedMobileNumberEvent extends Serializable {
 
        /**
-        * Getter for deleted cell phone numbers
+        * Getter for deleted mobile numbers
         * <p>
-        * @return Deleted cell phone numbers
+        * @return Deleted mobile numbers
         */
-       DialableMobileNumber getDeletedCellphoneNumber ();
+       DialableMobileNumber getDeletedMobileNumber ();
 
 }
index 00ba635a812e4f6fdb558a03ce00383ff06b059e..feb4664e5e9824f07722b312e4afc8335f9885ea 100644 (file)
@@ -19,7 +19,7 @@ package org.mxchange.jphone.events.mobile.deleted;
 import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 
 /**
- * An event when a cell phone number has been updated
+ * An event when a mobile number has been deleted
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
@@ -31,23 +31,23 @@ public class AdminMobileNumberDeletedEvent implements AdminDeletedMobileNumberEv
        private static final long serialVersionUID = 18_521_758_718_691_064L;
 
        /**
-        * Added mobile provider instance
+        * Updated mobile number
         */
-       private final DialableMobileNumber deletedCellphoneNumber;
+       private final DialableMobileNumber deletedMobileNumber;
 
        /**
-        * Constructor with deleted cell phone number
+        * Constructor with deleted mobile number
         * <p>
-        * @param deletedCellphoneNumber Updated cell phone number
+        * @param deletedCellphoneNumber Updated mobile number
         */
        public AdminMobileNumberDeletedEvent (final DialableMobileNumber deletedCellphoneNumber) {
                // Set it here
-               this.deletedCellphoneNumber = deletedCellphoneNumber;
+               this.deletedMobileNumber = deletedCellphoneNumber;
        }
 
        @Override
-       public DialableMobileNumber getDeletedCellphoneNumber () {
-               return this.deletedCellphoneNumber;
+       public DialableMobileNumber getDeletedMobileNumber () {
+               return this.deletedMobileNumber;
        }
 
 }
index 68f6460606dcb8a6d0dd9efeb3050ddc65975a51..aa882b7dc95ff18c0744640a255c163e8636d3e6 100644 (file)
@@ -20,7 +20,7 @@ import java.util.List;
 import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 
 /**
- * An event when a cell phone number has been updated
+ * An event when a mobile number list needs been cleared
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
@@ -32,24 +32,24 @@ public class AdminMobileNumberRemovedFromListEvent implements AdminRemoveMobileN
        private static final long serialVersionUID = 18_521_758_718_691_064L;
 
        /**
-        * Updated mobile provider instance
+        * Mobile number list
         */
-       private final List<DialableMobileNumber> cellphoneList;
+       private final List<DialableMobileNumber> mobileNumberList;
 
        /**
-        * Constructor with updated cell phone number
+        * Constructor with mobile number list
         * <p>
-        * @param cellphoneList Updated cell phone number
+        * @param mobileNumberList Mobile number list
         */
-       public AdminMobileNumberRemovedFromListEvent (final List<DialableMobileNumber> cellphoneList) {
+       public AdminMobileNumberRemovedFromListEvent (final List<DialableMobileNumber> mobileNumberList) {
                // Set it here
-               this.cellphoneList = cellphoneList;
+               this.mobileNumberList = mobileNumberList;
        }
 
        @Override
        @SuppressWarnings ("ReturnOfCollectionOrArrayField")
-       public List<DialableMobileNumber> getCellphoneList () {
-               return this.cellphoneList;
+       public List<DialableMobileNumber> getMobileNumberList () {
+               return this.mobileNumberList;
        }
 
 }
index b558eae207681266059d3694d0cb81f0a007aff3..6e65fac291f8804073d936cc94e5d9a3fe216745 100644 (file)
@@ -21,7 +21,7 @@ import java.util.List;
 import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 
 /**
- * An interface for an event when a list needs to be cleared from cell phone
+ * An interface for an event when a list needs to be cleared from mobile
  * numbers.
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
@@ -29,10 +29,10 @@ import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 public interface AdminRemoveMobileNumberFromListEvent extends Serializable {
 
        /**
-        * Getter for cell phone numer list
+        * Getter for mobile numer list
         * <p>
-        * @return Cell phone number list
+        * @return Mobile number list
         */
-       List<DialableMobileNumber> getCellphoneList ();
+       List<DialableMobileNumber> getMobileNumberList ();
 
 }
index 5647d8acb4e21ef2348cf390409588976e63d59d..5f8100b31a191962bb42fa17175114ba328dd25c 100644 (file)
@@ -19,7 +19,7 @@ package org.mxchange.jphone.events.mobile.updated;
 import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 
 /**
- * An event when a cell phone number has been updated
+ * An event when a mobile number has been updated
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
@@ -33,21 +33,21 @@ public class AdminMobileNumberUpdatedEvent implements AdminUpdatedMobileNumberEv
        /**
         * Updated mobile provider instance
         */
-       private final DialableMobileNumber updatedCellphoneNumber;
+       private final DialableMobileNumber updatedMobileNumber;
 
        /**
-        * Constructor with updated cell phone number
+        * Constructor with updated mobile number
         * <p>
-        * @param updatedCellphoneNumber Updated cell phone number
+        * @param updatedMobileNumber Updated mobile number
         */
-       public AdminMobileNumberUpdatedEvent (final DialableMobileNumber updatedCellphoneNumber) {
+       public AdminMobileNumberUpdatedEvent (final DialableMobileNumber updatedMobileNumber) {
                // Set it here
-               this.updatedCellphoneNumber = updatedCellphoneNumber;
+               this.updatedMobileNumber = updatedMobileNumber;
        }
 
        @Override
-       public DialableMobileNumber getUpdatedCellphoneNumber () {
-               return this.updatedCellphoneNumber;
+       public DialableMobileNumber getUpdatedMobileNumber () {
+               return this.updatedMobileNumber;
        }
 
 }
index 1cc4d146c4895600ddd045d54a8192bc88f1474e..564f5dedbf169239165df1a241094b9cd2a83488 100644 (file)
@@ -20,17 +20,17 @@ import java.io.Serializable;
 import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
 
 /**
- * An interface for an event when a cell phone number has been updated
+ * An interface for an event when a mobile number has been updated
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface AdminUpdatedMobileNumberEvent extends Serializable {
 
        /**
-        * Getter for updated cell phone numbers
+        * Getter for updated mobile numbers
         * <p>
-        * @return Updated cell phone numbers
+        * @return Updated mobile numbers
         */
-       DialableMobileNumber getUpdatedCellphoneNumber ();
+       DialableMobileNumber getUpdatedMobileNumber ();
 
 }