Android Open Source - iEtueri Exam






From Project

Back to project page iEtueri.

License

The source code is released under:

GNU General Public License

If you think the Android project iEtueri 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 exams;
//from   w w  w  . j a va 2 s  . co  m
public class Exam {

  /** Id of the exam */
  private int id;
  /** Name of the exam */
  private String name;

  /**
   * Date of the end of the exam in hh:mm-hh:mm-yyyy/MM/dd format(inithour,
   * endhour, date)
   */
  private String end;

  /** Date of the initHour; */
  private String initHour;

  /** Date of the endHour; */
  private String endHour;

  /** Note of the exam */
  private float note;

  /** Subject of the exam */
  private int subjectId;

  public Exam(int examId, int subjectId, String name, String end, float note) {
    this.setId(examId);
    this.subjectId = subjectId;
    String[] data = end.split("-");
    this.setInitHour(data[0]);
    this.setEndHour(data[1]);
    this.end = data[2];
    this.name = name;
    this.note = note;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  /* Get and set the exam name */
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  /* Get the end date of the exam */
  public String getEnd() {
    return end;
  }

  public void setEnd(String end) {
    this.end = end;
  }

  public String getInitHour() {
    return initHour;
  }

  public void setInitHour(String initHour) {
    this.initHour = initHour;
  }

  public String getEndHour() {
    return endHour;
  }

  public void setEndHour(String endHour) {
    this.endHour = endHour;
  }

  /* Get and set the note */
  public float getNote() {
    return note;
  }

  public void setNote(float note) {
    this.note = note;
  }

  /* Get and set the subject Id */
  public int getSubjectId() {
    return subjectId;
  }

  public void setSubjectId(int subjectId) {
    this.subjectId = subjectId;
  }

}




Java Source Code List

courses.CourseDetailFragment.java
courses.Course.java
courses.CoursesAdapter.java
courses.CoursesFragment.java
courses.NewCourseFragment.java
exams.Exam.java
exams.ExamsAdapter.java
exams.ExamsFragment.java
exams.NewExamFragment.java
homework.HomeworkAdapter.java
homework.HomeworkFragment.java
homework.Homework.java
homework.NewHomeworkFragment.java
navigationdrawer.DrawerListAdapter.java
navigationdrawer.DrawerList.java
navigationdrawer.MainActivity.java
navigationdrawer.NavigationDrawerCallbacks.java
navigationdrawer.NavigationDrawerController.java
navigationdrawer.NavigationDrawerFragment.java
navigationdrawer.OpenBrowser.java
schedule.CalendarManager.java
schedule.Event.java
schedule.EventsManager.java
schedule.FindEvents.java
schedule.RefreshScheduleEventsData.java
schedule.ScheduleFragment.java
schedule.ScheduleTodayAdapter.java
subject.DetailSubjectFragment.java
subject.NewSubjectFragment.java
subject.SubjectFragment.java
subject.SubjectListAdapter.java
subject.Subject.java
today.NewEventRepetitionDialogFragment.java
today.NewEventTodayFragment.java
today.TodayFragment.java
utility.DatabaseContract.java
utility.DatabaseHelper.java
utility.DatePickerDialogFragment.java
utility.OnBackPressed.java
utility.OnClickButtonXml.java
utility.PriorityDialogFragment.java
utility.TimePickerDialogFragment.java