Package be.gaudry.model.edu
Class SchoolClass
java.lang.Object
be.gaudry.model.AbstractLightObject
be.gaudry.model.LightObject
be.gaudry.model.edu.SchoolClass
- 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
void
void
setClassOwner(Teacher classOwner)
void
setCourses(Collection<Course> courses)
void
void
setSchoolYear(SchoolYear schoolYear)
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
-
SchoolClass
public SchoolClass() -
SchoolClass
-
-
Method Details
-
getSchool
- Returns:
- the school
-
setSchool
- Parameters:
school
- the school to set
-
getStudents
- Returns:
- the students
-
add
-
remove
-
getClassOwner
- Returns:
- the classOwner
-
setClassOwner
- Parameters:
classOwner
- the classOwner to set
-
getSchoolYear
- Returns:
- the schoolYear
-
setSchoolYear
- Parameters:
schoolYear
- the schoolYear to set
-
getCourses
- Returns:
- the courses
-
setCourses
- Parameters:
courses
- the courses 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()
-