From fa8fd8f0eb63198da62b853bab12cc416bc3aee4 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 30 Nov 2015 17:07:36 +0100 Subject: Add default header for methods and classes --- .../in/inf/se/notepadMinusMinus/model/Grade.java | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) (limited to 'src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java') 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 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 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 gradeValuesProperty() { if (gradeValues == null) -- cgit v1.2.3-70-g09d2