コード例 #1
0
 def studentToStr(student: Student):
     return str(
         student.getStudentId()) + " - " + student.getName() + " - " + str(
             student.getGroup())
コード例 #2
0
 def validateStudent(student: Student):
     StudentValidator.validateId(student.getStudentId())
     StudentValidator.validateName(student.getName())
     StudentValidator.validateGroup(student.getGroup())