Ejemplo n.º 1
0
 def studentToStr(student: Student):
     return str(
         student.getStudentId()) + " - " + student.getName() + " - " + str(
             student.getGroup())
 def validateStudent(student: Student):
     StudentValidator.validateId(student.getStudentId())
     StudentValidator.validateName(student.getName())
     StudentValidator.validateGroup(student.getGroup())