summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-11-23 21:11:37 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-11-23 21:11:37 +0100
commit949e1bfa83b7cd7615c25fca630ecb6d9861928b (patch)
tree5c566cc5cc6ff2f0b9ea3506b1e6f84ee38afe7f /src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java
downloadNotepad---949e1bfa83b7cd7615c25fca630ecb6d9861928b.tar.gz
Notepad---949e1bfa83b7cd7615c25fca630ecb6d9861928b.zip
Add first version of Notepad--
Diffstat (limited to 'src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java')
-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);
+ }
+
+}