]> git.mxchange.org Git - jphone-core.git/commitdiff
renamed event classes/interfaces as these events are generic enough
authorRoland Häder <roland@mxchange.org>
Sat, 5 Aug 2017 18:21:21 +0000 (20:21 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 5 Aug 2017 18:50:10 +0000 (20:50 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
12 files changed:
src/org/mxchange/jphone/events/fax/created/CreatedFaxNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/fax/created/ObservableCreatedFaxNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/helper/fax/created/HelperCreatedFaxNumberEvent.java [deleted file]
src/org/mxchange/jphone/events/helper/fax/created/ObservableHelperCreatedFaxNumberEvent.java [deleted file]
src/org/mxchange/jphone/events/helper/landline/created/HelperCreatedLandLineNumberEvent.java [deleted file]
src/org/mxchange/jphone/events/helper/landline/created/ObservableHelperCreatedLandLineNumberEvent.java [deleted file]
src/org/mxchange/jphone/events/helper/mobile/created/HelperCreatedMobileNumberEvent.java [deleted file]
src/org/mxchange/jphone/events/helper/mobile/created/ObservableHelperCreatedMobileNumberEvent.java [deleted file]
src/org/mxchange/jphone/events/landline/created/CreatedLandLineNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/landline/created/ObservableCreatedLandLineNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/mobile/created/CreatedMobileNumberEvent.java [new file with mode: 0644]
src/org/mxchange/jphone/events/mobile/created/ObservableCreatedMobileNumberEvent.java [new file with mode: 0644]

diff --git a/src/org/mxchange/jphone/events/fax/created/CreatedFaxNumberEvent.java b/src/org/mxchange/jphone/events/fax/created/CreatedFaxNumberEvent.java
new file mode 100644 (file)
index 0000000..ae35a51
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
+ *
+ * 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.created;
+
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An event being fired when a fax number instance has been successfully
+ * created.
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class CreatedFaxNumberEvent implements ObservableCreatedFaxNumberEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 50_498_269_827_581L;
+
+       /**
+        * Fax number
+        */
+       private DialableFaxNumber faxNumber;
+
+       /**
+        * Constructor with fax number instance
+        * <p>
+        * @param faxNumber Fax number instance
+        */
+       public CreatedFaxNumberEvent (final DialableFaxNumber faxNumber) {
+               this.faxNumber = faxNumber;
+       }
+
+       @Override
+       public DialableFaxNumber getFaxNumber () {
+               return this.faxNumber;
+       }
+
+       @Override
+       public void setFaxNumber (final DialableFaxNumber faxNumber) {
+               this.faxNumber = faxNumber;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/fax/created/ObservableCreatedFaxNumberEvent.java b/src/org/mxchange/jphone/events/fax/created/ObservableCreatedFaxNumberEvent.java
new file mode 100644 (file)
index 0000000..dff42a0
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * Copyright (C) 2017 Roland Häder
+ *
+ * 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.created;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+
+/**
+ * An event being fired when a fax number instance has been successfully
+ * created.
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public interface ObservableCreatedFaxNumberEvent extends Serializable {
+
+       /**
+        * Getter for fax number
+        * <p>
+        * @return Fax number
+        */
+       DialableFaxNumber getFaxNumber ();
+
+       /**
+        * Setter for fax number
+        * <p>
+        * @param faxNumber Fax number
+        */
+       void setFaxNumber (final DialableFaxNumber faxNumber);
+
+}
diff --git a/src/org/mxchange/jphone/events/helper/fax/created/HelperCreatedFaxNumberEvent.java b/src/org/mxchange/jphone/events/helper/fax/created/HelperCreatedFaxNumberEvent.java
deleted file mode 100644 (file)
index 2ee48f9..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
- *
- * 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.helper.fax.created;
-
-import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
-
-/**
- * An event being fired when a bean helper has successfully created a fax number
- * instance.
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-public class HelperCreatedFaxNumberEvent implements ObservableHelperCreatedFaxNumberEvent {
-
-       /**
-        * Serial number
-        */
-       private static final long serialVersionUID = 50_498_269_827_581L;
-
-       /**
-        * Fax number
-        */
-       private DialableFaxNumber faxNumber;
-
-       /**
-        * Constructor with fax number instance
-        * <p>
-        * @param faxNumber Fax number instance
-        */
-       public HelperCreatedFaxNumberEvent (final DialableFaxNumber faxNumber) {
-               this.faxNumber = faxNumber;
-       }
-
-       @Override
-       public DialableFaxNumber getFaxNumber () {
-               return this.faxNumber;
-       }
-
-       @Override
-       public void setFaxNumber (final DialableFaxNumber faxNumber) {
-               this.faxNumber = faxNumber;
-       }
-
-}
diff --git a/src/org/mxchange/jphone/events/helper/fax/created/ObservableHelperCreatedFaxNumberEvent.java b/src/org/mxchange/jphone/events/helper/fax/created/ObservableHelperCreatedFaxNumberEvent.java
deleted file mode 100644 (file)
index e28a4d1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2017 Roland Häder
- *
- * 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.helper.fax.created;
-
-import java.io.Serializable;
-import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
-
-/**
- * An interface for observable events when a bean helper has successfully
- * created a fax number instance.
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-public interface ObservableHelperCreatedFaxNumberEvent extends Serializable {
-
-       /**
-        * Getter for fax number
-        * <p>
-        * @return Fax number
-        */
-       DialableFaxNumber getFaxNumber ();
-
-       /**
-        * Setter for fax number
-        * <p>
-        * @param faxNumber Fax number
-        */
-       void setFaxNumber (final DialableFaxNumber faxNumber);
-
-}
diff --git a/src/org/mxchange/jphone/events/helper/landline/created/HelperCreatedLandLineNumberEvent.java b/src/org/mxchange/jphone/events/helper/landline/created/HelperCreatedLandLineNumberEvent.java
deleted file mode 100644 (file)
index 0aef4e7..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
- *
- * 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.helper.landline.created;
-
-import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
-
-/**
- * An event being fired when a bean helper has successfully created a fax number
- * instance.
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-public class HelperCreatedLandLineNumberEvent implements ObservableHelperCreatedLandLineNumberEvent {
-
-       /**
-        * Serial number
-        */
-       private static final long serialVersionUID = 50_498_269_827_582L;
-
-       /**
-        * Land-line number
-        */
-       private DialableLandLineNumber landLineNumber;
-
-       /**
-        * Constructor with fax number instance
-        * <p>
-        * @param landLineNumber Land-line number instance
-        */
-       public HelperCreatedLandLineNumberEvent (final DialableLandLineNumber landLineNumber) {
-               this.landLineNumber = landLineNumber;
-       }
-
-       @Override
-       public DialableLandLineNumber getLandLineNumber () {
-               return this.landLineNumber;
-       }
-
-       @Override
-       public void setLandLineNumber (final DialableLandLineNumber landLineNumber) {
-               this.landLineNumber = landLineNumber;
-       }
-
-}
diff --git a/src/org/mxchange/jphone/events/helper/landline/created/ObservableHelperCreatedLandLineNumberEvent.java b/src/org/mxchange/jphone/events/helper/landline/created/ObservableHelperCreatedLandLineNumberEvent.java
deleted file mode 100644 (file)
index 56f2e60..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2017 Roland Häder
- *
- * 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.helper.landline.created;
-
-import java.io.Serializable;
-import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
-
-/**
- * An interface for observable events when a bean helper has successfully
- * created a land-line number instance.
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-public interface ObservableHelperCreatedLandLineNumberEvent extends Serializable {
-
-       /**
-        * Getter for landLine number
-        * <p>
-        * @return Land-line number
-        */
-       DialableLandLineNumber getLandLineNumber ();
-
-       /**
-        * Setter for landLine number
-        * <p>
-        * @param landLineNumber Land-line number
-        */
-       void setLandLineNumber (final DialableLandLineNumber landLineNumber);
-
-}
diff --git a/src/org/mxchange/jphone/events/helper/mobile/created/HelperCreatedMobileNumberEvent.java b/src/org/mxchange/jphone/events/helper/mobile/created/HelperCreatedMobileNumberEvent.java
deleted file mode 100644 (file)
index efec208..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
- *
- * 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.helper.mobile.created;
-
-import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
-
-/**
- * An event being fired when a bean helper has successfully created a fax number
- * instance.
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-public class HelperCreatedMobileNumberEvent implements ObservableHelperCreatedMobileNumberEvent {
-
-       /**
-        * Serial number
-        */
-       private static final long serialVersionUID = 50_498_269_827_583L;
-
-       /**
-        * Mobile number
-        */
-       private DialableMobileNumber mobileNumber;
-
-       /**
-        * Constructor with fax number instance
-        * <p>
-        * @param mobileNumber Mobile number instance
-        */
-       public HelperCreatedMobileNumberEvent (final DialableMobileNumber mobileNumber) {
-               this.mobileNumber = mobileNumber;
-       }
-
-       @Override
-       public DialableMobileNumber getMobileNumber () {
-               return this.mobileNumber;
-       }
-
-       @Override
-       public void setMobileNumber (final DialableMobileNumber mobileNumber) {
-               this.mobileNumber = mobileNumber;
-       }
-
-}
diff --git a/src/org/mxchange/jphone/events/helper/mobile/created/ObservableHelperCreatedMobileNumberEvent.java b/src/org/mxchange/jphone/events/helper/mobile/created/ObservableHelperCreatedMobileNumberEvent.java
deleted file mode 100644 (file)
index 559dd14..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2017 Roland Häder
- *
- * 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.helper.mobile.created;
-
-import java.io.Serializable;
-import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
-
-/**
- * An interface for observable events when a bean helper has successfully
- * created a mobile number instance.
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-public interface ObservableHelperCreatedMobileNumberEvent extends Serializable {
-
-       /**
-        * Getter for mobile number
-        * <p>
-        * @return Mobile number
-        */
-       DialableMobileNumber getMobileNumber ();
-
-       /**
-        * Setter for mobile number
-        * <p>
-        * @param mobileNumber Mobile number
-        */
-       void setMobileNumber (final DialableMobileNumber mobileNumber);
-
-}
diff --git a/src/org/mxchange/jphone/events/landline/created/CreatedLandLineNumberEvent.java b/src/org/mxchange/jphone/events/landline/created/CreatedLandLineNumberEvent.java
new file mode 100644 (file)
index 0000000..25deee2
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
+ *
+ * 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.created;
+
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An event being fired when a land-line number instance has been successfully
+ * created..
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class CreatedLandLineNumberEvent implements ObservableCreatedLandLineNumberEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 50_498_269_827_582L;
+
+       /**
+        * Land-line number
+        */
+       private DialableLandLineNumber landLineNumber;
+
+       /**
+        * Constructor with fax number instance
+        * <p>
+        * @param landLineNumber Land-line number instance
+        */
+       public CreatedLandLineNumberEvent (final DialableLandLineNumber landLineNumber) {
+               this.landLineNumber = landLineNumber;
+       }
+
+       @Override
+       public DialableLandLineNumber getLandLineNumber () {
+               return this.landLineNumber;
+       }
+
+       @Override
+       public void setLandLineNumber (final DialableLandLineNumber landLineNumber) {
+               this.landLineNumber = landLineNumber;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/landline/created/ObservableCreatedLandLineNumberEvent.java b/src/org/mxchange/jphone/events/landline/created/ObservableCreatedLandLineNumberEvent.java
new file mode 100644 (file)
index 0000000..70f9d20
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * Copyright (C) 2017 Roland Häder
+ *
+ * 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.created;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
+
+/**
+ * An event being fired when a land-line number instance has been successfully
+ * created..
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public interface ObservableCreatedLandLineNumberEvent extends Serializable {
+
+       /**
+        * Getter for landLine number
+        * <p>
+        * @return Land-line number
+        */
+       DialableLandLineNumber getLandLineNumber ();
+
+       /**
+        * Setter for landLine number
+        * <p>
+        * @param landLineNumber Land-line number
+        */
+       void setLandLineNumber (final DialableLandLineNumber landLineNumber);
+
+}
diff --git a/src/org/mxchange/jphone/events/mobile/created/CreatedMobileNumberEvent.java b/src/org/mxchange/jphone/events/mobile/created/CreatedMobileNumberEvent.java
new file mode 100644 (file)
index 0000000..36e4577
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
+ *
+ * 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.mobile.created;
+
+import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
+
+/**
+ * An event being fired when a mobile number instance has been successfully
+ * created..
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class CreatedMobileNumberEvent implements ObservableCreatedMobileNumberEvent {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 50_498_269_827_583L;
+
+       /**
+        * Mobile number
+        */
+       private DialableMobileNumber mobileNumber;
+
+       /**
+        * Constructor with fax number instance
+        * <p>
+        * @param mobileNumber Mobile number instance
+        */
+       public CreatedMobileNumberEvent (final DialableMobileNumber mobileNumber) {
+               this.mobileNumber = mobileNumber;
+       }
+
+       @Override
+       public DialableMobileNumber getMobileNumber () {
+               return this.mobileNumber;
+       }
+
+       @Override
+       public void setMobileNumber (final DialableMobileNumber mobileNumber) {
+               this.mobileNumber = mobileNumber;
+       }
+
+}
diff --git a/src/org/mxchange/jphone/events/mobile/created/ObservableCreatedMobileNumberEvent.java b/src/org/mxchange/jphone/events/mobile/created/ObservableCreatedMobileNumberEvent.java
new file mode 100644 (file)
index 0000000..f72c9fe
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * Copyright (C) 2017 Roland Häder
+ *
+ * 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.mobile.created;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
+
+/**
+ * An event being fired when a mobile number instance has been successfully
+ * created..
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public interface ObservableCreatedMobileNumberEvent extends Serializable {
+
+       /**
+        * Getter for mobile number
+        * <p>
+        * @return Mobile number
+        */
+       DialableMobileNumber getMobileNumber ();
+
+       /**
+        * Setter for mobile number
+        * <p>
+        * @param mobileNumber Mobile number
+        */
+       void setMobileNumber (final DialableMobileNumber mobileNumber);
+
+}