Class School

All Implemented Interfaces:
ILightObject, Serializable

public class School extends LightObject
Since:
1.0 Oct 12, 2008, 1.0
Version:
%I%, %G%
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • School

      public School()
    • School

      public School(int id)
      Parameters:
      id -
    • School

      public School(String schoolName)
      Parameters:
      schoolName -
    • School

      public School(int id, String schoolName)
      Parameters:
      id -
      schoolName -
  • Method Details

    • getClasses

      public List<SchoolClass> getClasses()
      Returns:
      the classes
    • setClasses

      public void setClasses(List<SchoolClass> classes)
      Parameters:
      classes - the classes to set
    • getDirector

      public Person getDirector()
      Returns:
      the director
    • setDirector

      public void setDirector(Person director)
      Parameters:
      director - the director to set
    • toString

      public String toString()
      Description copied from class: AbstractLightObject
      Builds a string with variables values and the class.
      Overrides:
      toString in class AbstractLightObject
      Returns:
      a String representation of this LightObject only for debugging
      See Also:
      Object.toString()