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-30 17:07:36 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-11-30 17:07:36 +0100
commitfa8fd8f0eb63198da62b853bab12cc416bc3aee4 (patch)
treecbc77fb4b4698748e940df8732622f192a49e4a6 /src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java
parent8a1495c42b2512ed1e85e998a13a050c6ce7aa55 (diff)
downloadNotepad---fa8fd8f0eb63198da62b853bab12cc416bc3aee4.tar.gz
Notepad---fa8fd8f0eb63198da62b853bab12cc416bc3aee4.zip
Add default header for methods and classes
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.java85
1 files changed, 85 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
index 77310c7..9758e6a 100644
--- a/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java
+++ b/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java
@@ -43,6 +43,11 @@ public class Grade
private IntegerProperty attempt = new SimpleIntegerProperty(1);
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
public static Callback<Grade, Observable[]> extractor()
{
return (Grade grade) -> new Observable[] { grade.semesterProperty(),
@@ -50,86 +55,166 @@ public class Grade
grade.gradeProperty(), grade.attemptProperty() };
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
public final IntegerProperty semesterProperty()
{
return this.semester;
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
@XmlAttribute(name = "semester")
public final int getSemester()
{
return this.semesterProperty().get();
}
+ /**
+ * TODO Add method comment here
+ *
+ * @param semester
+ */
public final void setSemester(final int semester)
{
this.semesterProperty().set(semester);
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
public final StringProperty modulenameProperty()
{
return this.modulename;
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
@XmlAttribute(name = "modulename", required = true)
public final String getModulename()
{
return this.modulenameProperty().get();
}
+ /**
+ * TODO Add method comment here
+ *
+ * @param modulename
+ */
public final void setModulename(final java.lang.String modulename)
{
this.modulenameProperty().set(modulename);
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
public final IntegerProperty ectsProperty()
{
return this.ects;
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
@XmlAttribute(name = "ects")
public final int getEcts()
{
return this.ectsProperty().get();
}
+ /**
+ * TODO Add method comment here
+ *
+ * @param ects
+ */
public final void setEcts(final int ects)
{
this.ectsProperty().set(ects);
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
public final ObjectProperty<BigDecimal> gradeProperty()
{
return this.grade;
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
@XmlValue
public final BigDecimal getGrade()
{
return this.gradeProperty().get();
}
+ /**
+ * TODO Add method comment here
+ *
+ * @param grade
+ */
public final void setGrade(final BigDecimal grade)
{
this.gradeProperty().set(grade);
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
public final IntegerProperty attemptProperty()
{
return this.attempt;
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
@XmlAttribute(name = "attempt")
public final int getAttempt()
{
return this.attemptProperty().get();
}
+ /**
+ * TODO Add method comment here
+ *
+ * @param attempt
+ */
public final void setAttempt(final int attempt)
{
this.attemptProperty().set(attempt);
}
+ /**
+ * TODO Add method comment here
+ *
+ * @return
+ */
public static final ObservableList<BigDecimal> gradeValuesProperty()
{
if (gradeValues == null)