Package main.repository.user
Class StudentRepository
java.lang.Object
main.utils.iocontrol.Savable<ModelObject>
The StudentRepository class is a repository for managing the persistence of student objects
 through file I/O operations.
 It extends the Repository class, which provides basic CRUD operations for the repository.
- 
Nested Class SummaryNested classes/interfaces inherited from class main.repository.RepositoryRepository.RepositoryRule<ModelObject>
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the path of the repository file.static StudentRepositoryGets a new instance of the StudentRepository class.voidSets the list of mappable objects.Methods inherited from class main.repository.Repositoryadd, clear, contains, findByRules, getAll, getByID, getList, isEmpty, iterator, load, remove, save, size, update, updateAllMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Field Details- 
FILE_PATHThe path of the repository file.- See Also:
 
 
- 
- 
Constructor Details- 
StudentRepositoryStudentRepository()Constructor for the StudentRepository class.
 
- 
- 
Method Details- 
getInstanceGets a new instance of the StudentRepository class.- Returns:
- a new instance of the StudentRepository class
 
- 
getFilePathGets the path of the repository file.- Specified by:
- getFilePathin class- Repository<Student>
- Returns:
- the path of the repository file
 
- 
setAllSets the list of mappable objects.
 
-