If you think the Android project digitalcampus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package com.llenguatges.digitalcampus.objects;
//fromwww.java2s.compublicclass Exam {
String date, time, classroom;
int students;
long id, subject;
/**
* Constructor
* @param _id
* @param _subject
* @param _classroom
* @param _date
* @param _time
*/public Exam(long _id, long _subject, String _classroom, String _date, String _time) {
super();
this.id = _id;
this.date = _date;
this.time = _time;
this.subject = _subject;
this.classroom = _classroom;
}
/**
* Get exam's date
* @return
*/public String getDate() {
return this.date;
}
/**
* Set exam's date
* @param _date
*/publicvoid setDate(String _date) {
this.date = _date;
}
/**
* Get exam's time
* @return
*/public String getTime() {
return this.time;
}
/**
* Set exam's time
* @param _time
*/publicvoid setTime(String _time) {
this.time = _time;
}
/**
* Get exam's subject
* @return subject
*/publiclong getSubject() {
return this.subject;
}
/**
* Set exam's subject
* @param _subject
*/publicvoid setSubject(long _subject) {
this.subject = _subject;
}
/**
* Get exam's classroom
* @return classroom
*/public String getClassroom() {
return this.classroom;
}
/**
* Set exam's classroom
* @param _classroom
*/publicvoid setClassroom(String _classroom) {
this.classroom = _classroom;
}
/**
* Get exam's students
* @return students
*/publicint getStudents() {
return this.students;
}
/**
* Set exam's students
* @param _students
*/publicvoid setStudents(int _students) {
this.students = _students;
}
/**
* Get exam's id
* @return id
*/publiclong getId() {
return this.id;
}
/**
* Set exam's id
* @param _id
*/publicvoid setId(long _id) {
this.id = _id;
}
}