CourseIdentifier

Object used for managing a course identifier

class Object
trait Matchable
class Any

Type members

Classlikes

case class CourseIdentifier(courseName: String, degreeName: String, universityName: String)

Case class for the CourseIdentifier model

Case class for the CourseIdentifier model

Value parameters:
courseName

the name of the course (E.g. Paradigmi di Programmazione e Sviluppo)

degreeName

the name of the degree course (E.g. Laurea Magistrale in Ingegneria e Scienze Informatiche)

universityName

the name of the university (E.g. University of Bologna)

Value members

Concrete methods

def changeCourseName(courseId: CourseIdentifier, courseName: String): CourseIdentifier

Change the name of the course

Change the name of the course

Value parameters:
courseId

the course identifier to edit

courseName

name of the course

Returns:

CourseIdentifier

def changeDegreeName(courseId: CourseIdentifier, degreeName: String): CourseIdentifier

Change the name of the course degree

Change the name of the course degree

Value parameters:
courseId

the course identifier to edit

degreeName

name of the course degree

Returns:

CourseIdentifier

def changeUniversityName(courseId: CourseIdentifier, universityName: String): CourseIdentifier

Change the name of the course university

Change the name of the course university

Value parameters:
courseId

the course identifier to edit

universityName

name of the course university

Returns:

CourseIdentifier