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
display
Fields inherited from interface be.gaudry.model.ILightObject
DEFAULT_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setClasses(List<SchoolClass> classes)
void
setDirector(Person director)
toString()
Builds a string with variables values and the class.Methods inherited from class be.gaudry.model.LightObject
getDisplay, getId, setDisplay, setId
Methods 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:AbstractLightObject
Builds a string with variables values and the class.- Overrides:
toString
in classAbstractLightObject
- Returns:
- a String representation of this LightObject only for debugging
- See Also:
Object.toString()
-