Klasse PersonsInAWeek

java.lang.Object
application.model.PersonsInAWeek

public class PersonsInAWeek extends Object
Siehe auch:
  • Konstruktordetails

    • PersonsInAWeek

      public PersonsInAWeek(Person mondayPerson, Person tuesdayPerson, Person wednesdayPerson, Person thursdayPerson, Person fridayPerson, Person saturdayPerson, Person sundayPerson)
      Parameter:
      mondayPerson - the Person for the Monday slot.
      tuesdayPerson - the Person for the Tuesday slot.
      wednesdayPerson - the Person for the Wednesday slot.
      thursdayPerson - the Person for the Thursday slot.
      fridayPerson - the Person for the Friday slot.
      saturdayPerson - the Person for the Saturday slot.
      sundayPerson - the Person for the Sunday slot.
      Siehe auch:
  • Methodendetails

    • parseAList

      public static List<PersonsInAWeek> parseAList(List<Person> list)
      May not use all Persons of the List.
      Parses a List of Person's into PersonsInAWeek
      Parameter:
      list - The List of persons which will be parsed into a PersonsInAWeek.
      Gibt zurück:
      a PersonsInAWeek Object from the String.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • getMondayPerson

      public Person getMondayPerson()
      Gibt zurück:
      the mondayPerson
    • setMondayPerson

      public void setMondayPerson(Person mondayPerson)
      Parameter:
      mondayPerson - the mondayPerson to set
    • getTuesdayPerson

      public Person getTuesdayPerson()
      Gibt zurück:
      the tuesdayPerson
    • setTuesdayPerson

      public void setTuesdayPerson(Person tuesdayPerson)
      Parameter:
      tuesdayPerson - the tuesdayPerson to set
    • getWednesdayPerson

      public Person getWednesdayPerson()
      Gibt zurück:
      the wednesdayPerson
    • setWednesdayPerson

      public void setWednesdayPerson(Person wednesdayPerson)
      Parameter:
      wednesdayPerson - the wednesdayPerson to set
    • getThursdayPerson

      public Person getThursdayPerson()
      Gibt zurück:
      the thursdayPerson
    • setThursdayPerson

      public void setThursdayPerson(Person thursdayPerson)
      Parameter:
      thursdayPerson - the thursdayPerson to set
    • getSaturdayPerson

      public Person getSaturdayPerson()
      Gibt zurück:
      the saturdayPerson
    • setSaturdayPerson

      public void setSaturdayPerson(Person saturdayPerson)
      Parameter:
      saturdayPerson - the saturdayPerson to set
    • getSundayPerson

      public Person getSundayPerson()
      Gibt zurück:
      the sundayPerson
    • setSundayPerson

      public void setSundayPerson(Person sundayPerson)
      Parameter:
      sundayPerson - the sundayPerson to set
    • getFridayPerson

      public Person getFridayPerson()
      Gibt zurück:
      the fridayPerson
    • setFridayPerson

      public void setFridayPerson(Person fridayPerson)
      Parameter:
      fridayPerson - the fridayPerson to set