]> git.mxchange.org Git - shipsimu.git/blobdiff - ship-simu/application/ship-simu/interfaces/class_Personellizer.php
(no commit message)
[shipsimu.git] / ship-simu / application / ship-simu / interfaces / class_Personellizer.php
diff --git a/ship-simu/application/ship-simu/interfaces/class_Personellizer.php b/ship-simu/application/ship-simu/interfaces/class_Personellizer.php
deleted file mode 100644 (file)
index f4474e7..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-<?php
-/**
- * An interface for all personells
- *
- * @author     Roland Haeder <roland __NOSPAM__ [at] __REMOVE_ME__ mxchange [dot] org>
- * @version    0.1
- */
-interface Personellizer extends FrameworkInterface {
-         ///////////////////////
-        /// General methods ///
-       ///////////////////////
-
-       /**
-        * Remove min/max age
-        *
-        * @return      void
-        */
-       function removeMinMaxAge ();
-
-       /**
-        * Create a valid birthday
-        *
-        * @return void
-        */
-       function createBirthday ();
-
-       /**
-        * Verify if given year/month/day is a valid date combination
-        *
-        * @param               $year   4-digit year (valid  : 2007, 1946,
-        *                                                    invalid: 24, 2a, aa)
-        * @param               $month  1 to 2-digit month (range: 1 to 12)
-        * @param               $day            1 to 2-digit day (range: 1 to 31/30/29/28)
-        * @return      boolean true  = date is valid,
-        *                                      false = date is invalid
-        */
-       function isDateValid ($year, $month, $day);
-
-         /////////////////////////
-        //// Status requests ////
-       /////////////////////////
-
-       /**
-        * Is the person employed?
-        *
-        * @return      boolean true  = person is employed
-        *                                      false = person is umemployed
-        */
-       function isEmployed ();
-
-       /**
-        * Is the person married? (to which one doesn't matter here)
-        *
-        * @return      boolean true  = person is married
-        *                                      false = person is not married
-        */
-       function isMarried ();
-
-       /**
-        * Is the person a male?
-        *
-        * @return      boolean true  = person is male
-        *                                      false = person is not male (maybe female? ;-))
-        */
-       function isMale ();
-
-       /**
-        * Is the person a female?
-        *
-        * @return      boolean true  = person is female
-        *                                      false = person is not female (maybe male? ;-))
-        */
-       function isFemale ();
-
-         /////////////////
-        //// Getters ////
-       /////////////////
-
-       /**
-        * Getter for surname
-        *
-        * @return      $surname        The person's surname
-        */
-       function getSurname ();
-
-       /**
-        * Getter for family name
-        *
-        * @return      $family The person's family name
-        */
-       function getFamily ();
-
-       /**
-        * Getter for gender
-        *
-        * @return      $gender The person's gender (F/M)
-        */
-       function getGender ();
-
-       /**
-        * Getter for salary
-        *
-        * @return      $salary The person's current salary
-        */
-       function getSalary ();
-
-         /////////////////
-        //// Setters ////
-       /////////////////
-
-       /**
-        * Setter for surname
-        *
-        * @param               $surname        The person's new surname as a string
-        * @return      void
-        */
-       function setSurname ($surname);
-
-       /**
-        * Setter for family name
-        *
-        * @param               $family The person's new family name as a string
-        * @return      void
-        */
-       function setFamily ($family);
-
-       /**
-        * Setter for gender. Do not use this so often... ;-)
-        * This method shall only be used when the person is "created"
-        *
-        * @param               $gender The person's new gender as a 1-char string (M/F)
-        * @return      void
-        */
-       function setGender ($gender);
-
-       /**
-        * Setter for employment status
-        *
-        * @param               $employed       The person's new employment stats
-        * @return      void
-        */
-       function setEmployed ($employed);
-
-       /**
-        * Setter for marrital status
-        *
-        * @param               $married        The person's new marrital status
-        * @return      void
-        */
-       function setMarried ($married);
-
-       /**
-        * Setter for a already validated birthday.
-        *
-        * @param               $year   The person's new year-of-birth (4 digits)
-        * @param               $month  The person's new month-of-birth (1 to 2 digits)
-        * @param               $day            The person's new day-of-birth (1 to 2 digits)
-        * @return      void
-        */
-       function setBirthday ($year, $month, $day);
-
-         /////////////////////////////////////
-        //// Methods for changing salary ////
-       /////////////////////////////////////
-
-       /**
-        * Increase person's salary by a specified amount
-        *
-        * @param               $add            Add this float amount to current salary
-        * @return      void
-        */
-       function increaseSalary ($add);
-
-       /**
-        * Decrease person's salary by a specified amount
-        *
-        * @param               $sub            Subtract this float amount to current salary
-        * @return      void
-        */
-       function decreaseSalary ($sub);
-}
-
-// [EOF]
-?>