Uses of Class
MySTARS.ClassType

  • Uses of ClassType in MySTARS

    Fields in MySTARS declared as ClassType 
    Modifier and Type Field Description
    private ClassType Lesson.classType
    The type of class (lecture, tutorial etc.) which is an enum ClassType.
    Methods in MySTARS that return ClassType 
    Modifier and Type Method Description
    static ClassType Lesson.chooseClassType()
    Method to prompt user to choose the type of class
    static ClassType ClassType.getClassType​(java.lang.String type)
    Takes in a string indicating the class type, and returns the corresponding ClassType enum.
    ClassType Lesson.getType()
    Returns a ClassType enum specifying the type of the specified lesson.
    static ClassType ClassType.valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static ClassType[] ClassType.values()
    Returns an array containing the constants of this enum type, in the order they are declared.
    Constructors in MySTARS with parameters of type ClassType 
    Constructor Description
    Lesson​(ClassType classType, DayOfWeek dayOfWeek, int startTime, int endTime, java.lang.String location)
    Lesson constructor, creates new lesson of specified ClassType on a certain day of the week.