Package be.gaudry.model.edu
Class School
java.lang.Object
be.gaudry.model.AbstractLightObject
be.gaudry.model.LightObject
be.gaudry.model.edu.School
- All Implemented Interfaces:
ILightObject,Serializable
- Since:
- 1.0 Oct 12, 2008, 1.0
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class be.gaudry.model.LightObject
displayFields inherited from interface be.gaudry.model.ILightObject
DEFAULT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetClasses(List<SchoolClass> classes)voidsetDirector(Person director)toString()Builds a string with variables values and the class.Methods inherited from class be.gaudry.model.LightObject
getDisplay, getId, setDisplay, setIdMethods inherited from class be.gaudry.model.AbstractLightObject
equals, hashCode
-
Constructor Details
-
School
public School() -
School
public School(int id)- Parameters:
id-
-
School
- Parameters:
schoolName-
-
School
- Parameters:
id-schoolName-
-
-
Method Details
-
getClasses
- Returns:
- the classes
-
setClasses
- Parameters:
classes- the classes to set
-
getDirector
- Returns:
- the director
-
setDirector
- Parameters:
director- the director to set
-
toString
Description copied from class:AbstractLightObjectBuilds a string with variables values and the class.- Overrides:
toStringin classAbstractLightObject- Returns:
- a String representation of this LightObject only for debugging
- See Also:
Object.toString()
-