From da0278c89523ab05955461a55a59d35b9ab0198c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 16 Aug 2016 14:58:24 +0200 Subject: [PATCH] Continued with land-line: - added events for land-line and fax numbers (maybe some are still missing) - renamed cellphone -> mobile - fixed some comments --- .../deleted/AdminDeletedFaxNumberEvent.java | 36 ++++++++++++ .../deleted/AdminFaxNumberDeletedEvent.java | 53 ++++++++++++++++++ .../AdminFaxNumberRemovedFromListEvent.java | 55 +++++++++++++++++++ .../AdminRemoveFaxNumberFromListEvent.java | 38 +++++++++++++ .../updated/AdminFaxNumberUpdatedEvent.java | 53 ++++++++++++++++++ .../updated/AdminUpdatedFaxNumberEvent.java | 36 ++++++++++++ .../AdminDeletedLandLineNumberEvent.java | 36 ++++++++++++ .../AdminLandLineNumberDeletedEvent.java | 53 ++++++++++++++++++ ...minLandLineNumberRemovedFromListEvent.java | 55 +++++++++++++++++++ ...dminRemoveLandLineNumberFromListEvent.java | 38 +++++++++++++ .../AdminLandLineNumberUpdatedEvent.java | 53 ++++++++++++++++++ .../AdminUpdatedLandLineNumberEvent.java | 36 ++++++++++++ .../AdminDeletedMobileNumberEvent.java | 8 +-- .../AdminMobileNumberDeletedEvent.java | 16 +++--- ...AdminMobileNumberRemovedFromListEvent.java | 18 +++--- .../AdminRemoveMobileNumberFromListEvent.java | 8 +-- .../AdminMobileNumberUpdatedEvent.java | 16 +++--- .../AdminUpdatedMobileNumberEvent.java | 8 +-- 18 files changed, 579 insertions(+), 37 deletions(-) create mode 100644 src/org/mxchange/jphone/events/fax/deleted/AdminDeletedFaxNumberEvent.java create mode 100644 src/org/mxchange/jphone/events/fax/deleted/AdminFaxNumberDeletedEvent.java create mode 100644 src/org/mxchange/jphone/events/fax/removed/AdminFaxNumberRemovedFromListEvent.java create mode 100644 src/org/mxchange/jphone/events/fax/removed/AdminRemoveFaxNumberFromListEvent.java create mode 100644 src/org/mxchange/jphone/events/fax/updated/AdminFaxNumberUpdatedEvent.java create mode 100644 src/org/mxchange/jphone/events/fax/updated/AdminUpdatedFaxNumberEvent.java create mode 100644 src/org/mxchange/jphone/events/landline/deleted/AdminDeletedLandLineNumberEvent.java create mode 100644 src/org/mxchange/jphone/events/landline/deleted/AdminLandLineNumberDeletedEvent.java create mode 100644 src/org/mxchange/jphone/events/landline/removed/AdminLandLineNumberRemovedFromListEvent.java create mode 100644 src/org/mxchange/jphone/events/landline/removed/AdminRemoveLandLineNumberFromListEvent.java create mode 100644 src/org/mxchange/jphone/events/landline/updated/AdminLandLineNumberUpdatedEvent.java create mode 100644 src/org/mxchange/jphone/events/landline/updated/AdminUpdatedLandLineNumberEvent.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 index 0000000..d76e081 --- /dev/null +++ b/src/org/mxchange/jphone/events/fax/deleted/AdminDeletedFaxNumberEvent.java @@ -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 . + */ +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 + *

+ * @author Roland Haeder + */ +public interface AdminDeletedFaxNumberEvent extends Serializable { + + /** + * Getter for deleted fax numbers + *

+ * @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 index 0000000..81c6282 --- /dev/null +++ b/src/org/mxchange/jphone/events/fax/deleted/AdminFaxNumberDeletedEvent.java @@ -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 . + */ +package org.mxchange.jphone.events.fax.deleted; + +import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; + +/** + * An event when a land-line number has been deleted + *

+ * @author Roland Haeder + */ +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 + *

+ * @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 index 0000000..088820c --- /dev/null +++ b/src/org/mxchange/jphone/events/fax/removed/AdminFaxNumberRemovedFromListEvent.java @@ -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 . + */ +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 + *

+ * @author Roland Haeder + */ +public class AdminFaxNumberRemovedFromListEvent implements AdminRemoveFaxNumberFromListEvent { + + /** + * Serial number + */ + private static final long serialVersionUID = 18_521_758_718_691_064L; + + /** + * Mobile number list + */ + private final List faxNumberList; + + /** + * Constructor with fax number list + *

+ * @param faxNumberList Fax number list + */ + public AdminFaxNumberRemovedFromListEvent (final List faxNumberList) { + // Set it here + this.faxNumberList = faxNumberList; + } + + @Override + @SuppressWarnings ("ReturnOfCollectionOrArrayField") + public List 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 index 0000000..7ae77c2 --- /dev/null +++ b/src/org/mxchange/jphone/events/fax/removed/AdminRemoveFaxNumberFromListEvent.java @@ -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 . + */ +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. + *

+ * @author Roland Haeder + */ +public interface AdminRemoveFaxNumberFromListEvent extends Serializable { + + /** + * Getter for fax numer list + *

+ * @return fax number list + */ + List 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 index 0000000..dbef1aa --- /dev/null +++ b/src/org/mxchange/jphone/events/fax/updated/AdminFaxNumberUpdatedEvent.java @@ -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 . + */ +package org.mxchange.jphone.events.fax.updated; + +import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; + +/** + * An event when a fax number has been updated + *

+ * @author Roland Haeder + */ +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 + *

+ * @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 index 0000000..10d7464 --- /dev/null +++ b/src/org/mxchange/jphone/events/fax/updated/AdminUpdatedFaxNumberEvent.java @@ -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 . + */ +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 + *

+ * @author Roland Haeder + */ +public interface AdminUpdatedFaxNumberEvent extends Serializable { + + /** + * Getter for updated fax numbers + *

+ * @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 index 0000000..352d4b2 --- /dev/null +++ b/src/org/mxchange/jphone/events/landline/deleted/AdminDeletedLandLineNumberEvent.java @@ -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 . + */ +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 + *

+ * @author Roland Haeder + */ +public interface AdminDeletedLandLineNumberEvent extends Serializable { + + /** + * Getter for deleted land-line numbers + *

+ * @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 index 0000000..524390a --- /dev/null +++ b/src/org/mxchange/jphone/events/landline/deleted/AdminLandLineNumberDeletedEvent.java @@ -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 . + */ +package org.mxchange.jphone.events.landline.deleted; + +import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; + +/** + * An event when a land-line number has been deleted + *

+ * @author Roland Haeder + */ +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 + *

+ * @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 index 0000000..bf1f3cd --- /dev/null +++ b/src/org/mxchange/jphone/events/landline/removed/AdminLandLineNumberRemovedFromListEvent.java @@ -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 . + */ +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 + *

+ * @author Roland Haeder + */ +public class AdminLandLineNumberRemovedFromListEvent implements AdminRemoveLandLineNumberFromListEvent { + + /** + * Serial number + */ + private static final long serialVersionUID = 18_521_758_718_691_064L; + + /** + * Mobile number list + */ + private final List landLineNumberList; + + /** + * Constructor with mobile number list + *

+ * @param mobileNumberList Mobile number list + */ + public AdminLandLineNumberRemovedFromListEvent (final List mobileNumberList) { + // Set it here + this.landLineNumberList = mobileNumberList; + } + + @Override + @SuppressWarnings ("ReturnOfCollectionOrArrayField") + public List 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 index 0000000..5c0735c --- /dev/null +++ b/src/org/mxchange/jphone/events/landline/removed/AdminRemoveLandLineNumberFromListEvent.java @@ -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 . + */ +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. + *

+ * @author Roland Haeder + */ +public interface AdminRemoveLandLineNumberFromListEvent extends Serializable { + + /** + * Getter for land-line numer list + *

+ * @return Land-line number list + */ + List 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 index 0000000..ddf18d9 --- /dev/null +++ b/src/org/mxchange/jphone/events/landline/updated/AdminLandLineNumberUpdatedEvent.java @@ -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 . + */ +package org.mxchange.jphone.events.landline.updated; + +import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; + +/** + * An event when a mobile number has been updated + *

+ * @author Roland Haeder + */ +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 + *

+ * @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 index 0000000..b1436ca --- /dev/null +++ b/src/org/mxchange/jphone/events/landline/updated/AdminUpdatedLandLineNumberEvent.java @@ -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 . + */ +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 + *

+ * @author Roland Haeder + */ +public interface AdminUpdatedLandLineNumberEvent extends Serializable { + + /** + * Getter for updated land-line numbers + *

+ * @return Updated land-line numbers + */ + DialableLandLineNumber getUpdatedLandLineNumber (); + +} diff --git a/src/org/mxchange/jphone/events/mobile/deleted/AdminDeletedMobileNumberEvent.java b/src/org/mxchange/jphone/events/mobile/deleted/AdminDeletedMobileNumberEvent.java index b7188e2..c9159bf 100644 --- a/src/org/mxchange/jphone/events/mobile/deleted/AdminDeletedMobileNumberEvent.java +++ b/src/org/mxchange/jphone/events/mobile/deleted/AdminDeletedMobileNumberEvent.java @@ -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 *

* @author Roland Haeder */ public interface AdminDeletedMobileNumberEvent extends Serializable { /** - * Getter for deleted cell phone numbers + * Getter for deleted mobile numbers *

- * @return Deleted cell phone numbers + * @return Deleted mobile numbers */ - DialableMobileNumber getDeletedCellphoneNumber (); + DialableMobileNumber getDeletedMobileNumber (); } diff --git a/src/org/mxchange/jphone/events/mobile/deleted/AdminMobileNumberDeletedEvent.java b/src/org/mxchange/jphone/events/mobile/deleted/AdminMobileNumberDeletedEvent.java index 00ba635..feb4664 100644 --- a/src/org/mxchange/jphone/events/mobile/deleted/AdminMobileNumberDeletedEvent.java +++ b/src/org/mxchange/jphone/events/mobile/deleted/AdminMobileNumberDeletedEvent.java @@ -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 *

* @author Roland Haeder */ @@ -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 *

- * @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; } } diff --git a/src/org/mxchange/jphone/events/mobile/remove/AdminMobileNumberRemovedFromListEvent.java b/src/org/mxchange/jphone/events/mobile/remove/AdminMobileNumberRemovedFromListEvent.java index 68f6460..aa882b7 100644 --- a/src/org/mxchange/jphone/events/mobile/remove/AdminMobileNumberRemovedFromListEvent.java +++ b/src/org/mxchange/jphone/events/mobile/remove/AdminMobileNumberRemovedFromListEvent.java @@ -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 *

* @author Roland Haeder */ @@ -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 cellphoneList; + private final List mobileNumberList; /** - * Constructor with updated cell phone number + * Constructor with mobile number list *

- * @param cellphoneList Updated cell phone number + * @param mobileNumberList Mobile number list */ - public AdminMobileNumberRemovedFromListEvent (final List cellphoneList) { + public AdminMobileNumberRemovedFromListEvent (final List mobileNumberList) { // Set it here - this.cellphoneList = cellphoneList; + this.mobileNumberList = mobileNumberList; } @Override @SuppressWarnings ("ReturnOfCollectionOrArrayField") - public List getCellphoneList () { - return this.cellphoneList; + public List getMobileNumberList () { + return this.mobileNumberList; } } diff --git a/src/org/mxchange/jphone/events/mobile/remove/AdminRemoveMobileNumberFromListEvent.java b/src/org/mxchange/jphone/events/mobile/remove/AdminRemoveMobileNumberFromListEvent.java index b558eae..6e65fac 100644 --- a/src/org/mxchange/jphone/events/mobile/remove/AdminRemoveMobileNumberFromListEvent.java +++ b/src/org/mxchange/jphone/events/mobile/remove/AdminRemoveMobileNumberFromListEvent.java @@ -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. *

* @author Roland Haeder @@ -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 *

- * @return Cell phone number list + * @return Mobile number list */ - List getCellphoneList (); + List getMobileNumberList (); } diff --git a/src/org/mxchange/jphone/events/mobile/updated/AdminMobileNumberUpdatedEvent.java b/src/org/mxchange/jphone/events/mobile/updated/AdminMobileNumberUpdatedEvent.java index 5647d8a..5f8100b 100644 --- a/src/org/mxchange/jphone/events/mobile/updated/AdminMobileNumberUpdatedEvent.java +++ b/src/org/mxchange/jphone/events/mobile/updated/AdminMobileNumberUpdatedEvent.java @@ -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 *

* @author Roland Haeder */ @@ -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 *

- * @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; } } diff --git a/src/org/mxchange/jphone/events/mobile/updated/AdminUpdatedMobileNumberEvent.java b/src/org/mxchange/jphone/events/mobile/updated/AdminUpdatedMobileNumberEvent.java index 1cc4d14..564f5de 100644 --- a/src/org/mxchange/jphone/events/mobile/updated/AdminUpdatedMobileNumberEvent.java +++ b/src/org/mxchange/jphone/events/mobile/updated/AdminUpdatedMobileNumberEvent.java @@ -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 *

* @author Roland Haeder */ public interface AdminUpdatedMobileNumberEvent extends Serializable { /** - * Getter for updated cell phone numbers + * Getter for updated mobile numbers *

- * @return Updated cell phone numbers + * @return Updated mobile numbers */ - DialableMobileNumber getUpdatedCellphoneNumber (); + DialableMobileNumber getUpdatedMobileNumber (); } -- 2.39.5