summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/se/notepadMinusMinus/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/fhswf/in/inf/se/notepadMinusMinus/model')
-rw-r--r--src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java104
1 files changed, 104 insertions, 0 deletions
diff --git a/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java b/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java
new file mode 100644
index 0000000..0b1528f
--- /dev/null
+++ b/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java
@@ -0,0 +1,104 @@
+/**
+ *
+ */
+package de.fhswf.in.inf.se.notepadMinusMinus.model;
+
+import javafx.beans.property.IntegerProperty;
+import javafx.beans.property.SimpleIntegerProperty;
+import javafx.beans.property.SimpleStringProperty;
+import javafx.beans.property.StringProperty;
+
+/**
+ * TODO Add comment here
+ *
+ * @author $Author: $
+ * @version $Revision: $, $Date: $ UTC
+ */
+public class Grade
+{
+ private IntegerProperty semester = new SimpleIntegerProperty();
+
+ private StringProperty modulename = new SimpleStringProperty();
+
+ private IntegerProperty ects = new SimpleIntegerProperty();
+
+ private IntegerProperty grade = new SimpleIntegerProperty();
+
+ private IntegerProperty attempt = new SimpleIntegerProperty();
+
+ public final IntegerProperty semesterProperty()
+ {
+ return this.semester;
+ }
+
+ public final int getSemester()
+ {
+ return this.semesterProperty().get();
+ }
+
+ public final void setSemester(final int semester)
+ {
+ this.semesterProperty().set(semester);
+ }
+
+ public final StringProperty modulenameProperty()
+ {
+ return this.modulename;
+ }
+
+ public final String getModulename()
+ {
+ return this.modulenameProperty().get();
+ }
+
+ public final void setModulename(final java.lang.String modulename)
+ {
+ this.modulenameProperty().set(modulename);
+ }
+
+ public final IntegerProperty ectsProperty()
+ {
+ return this.ects;
+ }
+
+ public final int getEcts()
+ {
+ return this.ectsProperty().get();
+ }
+
+ public final void setEcts(final int ects)
+ {
+ this.ectsProperty().set(ects);
+ }
+
+ public final IntegerProperty gradeProperty()
+ {
+ return this.grade;
+ }
+
+ public final int getGrade()
+ {
+ return this.gradeProperty().get();
+ }
+
+ public final void setGrade(final int grade)
+ {
+ this.gradeProperty().set(grade);
+ }
+
+ public final IntegerProperty attemptProperty()
+ {
+ return this.attempt;
+ }
+
+ public final int getAttempt()
+ {
+ return this.attemptProperty().get();
+ }
+
+ public final void setAttempt(final int attempt)
+ {
+ this.attemptProperty().set(attempt);
+ }
+
+}