diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-11-30 17:07:36 +0100 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-11-30 17:07:36 +0100 |
| commit | fa8fd8f0eb63198da62b853bab12cc416bc3aee4 (patch) | |
| tree | cbc77fb4b4698748e940df8732622f192a49e4a6 /src/de/fhswf/in/inf/se/notepadMinusMinus/model | |
| parent | 8a1495c42b2512ed1e85e998a13a050c6ce7aa55 (diff) | |
| download | Notepad---fa8fd8f0eb63198da62b853bab12cc416bc3aee4.tar.gz Notepad---fa8fd8f0eb63198da62b853bab12cc416bc3aee4.zip | |
Add default header for methods and classes
Diffstat (limited to 'src/de/fhswf/in/inf/se/notepadMinusMinus/model')
| -rw-r--r-- | src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grade.java | 85 | ||||
| -rw-r--r-- | src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grades.java | 46 |
2 files changed, 131 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) diff --git a/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grades.java b/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grades.java index dda5db8..631097e 100644 --- a/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grades.java +++ b/src/de/fhswf/in/inf/se/notepadMinusMinus/model/Grades.java @@ -11,6 +11,12 @@ import javax.xml.bind.annotation.XmlRootElement; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; +/** + * TODO Add comment here + * + * @author $Author: $ + * @version $Revision: $, $Date: $ UTC + */ @XmlRootElement(name = "grades") public class Grades { @@ -22,6 +28,11 @@ public class Grades private ObjectProperty<BigDecimal> colloquium = new SimpleObjectProperty<>( new BigDecimal("0.0")); + /** + * TODO Add method comment here + * + * @return + */ @XmlElement(name = "grade", required = true) public List<Grade> getGrades() { @@ -32,38 +43,73 @@ public class Grades return this.grades; } + /** + * TODO Add method comment here + * + * @param consumption + */ public void setGrades(List<Grade> consumption) { this.grades = consumption; } + /** + * TODO Add method comment here + * + * @return + */ public final ObjectProperty<BigDecimal> thesisProperty() { return this.thesis; } + /** + * TODO Add method comment here + * + * @return + */ @XmlAttribute(name = "thesis") public final BigDecimal getThesis() { return this.thesisProperty().get(); } + /** + * TODO Add method comment here + * + * @param thesis + */ public final void setThesis(final BigDecimal thesis) { this.thesisProperty().set(thesis); } + /** + * TODO Add method comment here + * + * @return + */ public final ObjectProperty<BigDecimal> colloquiumProperty() { return this.colloquium; } + /** + * TODO Add method comment here + * + * @return + */ @XmlAttribute(name = "colloquium") public final BigDecimal getColloquium() { return this.colloquiumProperty().get(); } + /** + * TODO Add method comment here + * + * @param colloquium + */ public final void setColloquium(final BigDecimal colloquium) { this.colloquiumProperty().set(colloquium); |
