// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/controller/Timetable/model/ClassTime.java
// public class ClassTime {
//     private char classType;     //Lectue, Tute , Practical
//     private String subCode;
//     private String venue;
//     private int time;
//     private String faculty;
//     private int day;
// 
//     public ClassTime(char classType, String subCode, String venue, int time, String faculty, int day) {
//         this.classType = classType;
//         this.subCode = subCode;
//         this.venue = venue;
//         this.time = time;
//         this.faculty = faculty;
//         this.day = day;
//     }
// 
//     public char getClassType() {
//         return classType;
//     }
// 
//     public String getSubCode() {
//         return subCode;
//     }
// 
//     public String getVenue() {
//         return venue;
//     }
// 
//     public int getTime() {
//         return time;
//     }
// 
//     public String getFaculty() {
//         return faculty;
//     }
// 
//     public int getDay() {
//         return day;
//     }
// }
// 
// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/databases/model/MySubjectAttendance.java
// public class MySubjectAttendance extends SubjectAttendance{
//     private int isModified;     //if attendance of subject is modified in last refresh or not. (usually used to show "recently updated")
// 
//     public MySubjectAttendance(String name, String code, int overall, int lect, int tute, int pract, int notLab, int isModified) {
// 
//         setName(name);
//         setSubCode(code);
//         setOverall(overall);
//         setLect(lect);
//         setTute(tute);
//         setPract(pract);
//         setNotLab(notLab);
//         this.isModified = isModified;
//     }
// 
//     public void setIsModified(int isModified) {
//         this.isModified = isModified;
//     }
// 
//     public int isModified() {
// 
//         return isModified;
//     }
// }


import com.blackMonster.webkiosk.controller.Timetable.model.ClassTime;
import com.blackMonster.webkiosk.databases.model.MySubjectAttendance;
package com.blackMonster.webkiosk.controller.model;


/**
 * Java class having details of single class of a day.
 */
public class SingleClass {

    private ClassTime classTime;
    private MySubjectAttendance subAtnd;        //Attendance details of this class.

    public SingleClass(ClassTime classTime, MySubjectAttendance subAtnd) {
        this.classTime = classTime;
        this.subAtnd = subAtnd;
    }

    /**
     * @return "L","T" or "P" for lecture, tutorial and practical.
     */
    public char getClassType() {
        return classTime.getClassType();
    }

    public String getSubjectName() {
        return subAtnd.getName();
    }

    public String getVenue() {
        return classTime.getVenue();
    }

// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/controller/Timetable/model/ClassTime.java
// public class ClassTime {
//     private char classType;     //Lectue, Tute , Practical
//     private String subCode;
//     private String venue;
//     private int time;
//     private String faculty;
//     private int day;
// 
//     public ClassTime(char classType, String subCode, String venue, int time, String faculty, int day) {
//         this.classType = classType;
//         this.subCode = subCode;
//         this.venue = venue;
//         this.time = time;
//         this.faculty = faculty;
//         this.day = day;
//     }
// 
//     public char getClassType() {
//         return classType;
//     }
// 
//     public String getSubCode() {
//         return subCode;
//     }
// 
//     public String getVenue() {
//         return venue;
//     }
// 
//     public int getTime() {
//         return time;
//     }
// 
//     public String getFaculty() {
//         return faculty;
//     }
// 
//     public int getDay() {
//         return day;
//     }
// }
// 
// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/databases/model/MySubjectAttendance.java
// public class MySubjectAttendance extends SubjectAttendance{
//     private int isModified;     //if attendance of subject is modified in last refresh or not. (usually used to show "recently updated")
// 
//     public MySubjectAttendance(String name, String code, int overall, int lect, int tute, int pract, int notLab, int isModified) {
// 
//         setName(name);
//         setSubCode(code);
//         setOverall(overall);
//         setLect(lect);
//         setTute(tute);
//         setPract(pract);
//         setNotLab(notLab);
//         this.isModified = isModified;
//     }
// 
//     public void setIsModified(int isModified) {
//         this.isModified = isModified;
//     }
// 
//     public int isModified() {
// 
//         return isModified;
//     }
// }


// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/controller/model/SingleClass.java
import com.blackMonster.webkiosk.controller.Timetable.model.ClassTime;
import com.blackMonster.webkiosk.databases.model.MySubjectAttendance;

package com.blackMonster.webkiosk.controller.model;


/**
 * Java class having details of single class of a day.
 */
public class SingleClass {

    private ClassTime classTime;
    private MySubjectAttendance subAtnd;        //Attendance details of this class.

    public SingleClass(ClassTime classTime, MySubjectAttendance subAtnd) {
        this.classTime = classTime;
        this.subAtnd = subAtnd;
    }

    /**
     * @return "L","T" or "P" for lecture, tutorial and practical.
     */
    public char getClassType() {
        return classTime.getClassType();
    }

    public String getSubjectName() {
        return subAtnd.getName();
    }

    public String getVenue() {
        return classTime.getVenue();
    }

    public String getFaculty() {