@@ -34,38 +34,63 @@ public FlashcardSetDsRequestModel(String title, String description, boolean isPr
34
34
this .ownerUsername = ownerUsername ;
35
35
this .flashcardIds = flashcardIds ;
36
36
}
37
+ /**
38
+ * Gets the flashcard set title.
39
+ * @return the flashcard set title.
40
+ */
37
41
public String getTitle () {
38
42
return title ;
39
43
}
40
-
44
+ /**
45
+ * Gets the flashcard set description.
46
+ * @return the flashcard set description.
47
+ */
41
48
public String getDescription () {
42
49
return description ;
43
50
}
44
-
51
+ /**
52
+ * Gets the flashcard privacy.
53
+ * @return true if the flashcard set is private.
54
+ */
45
55
public Boolean getIsPrivate () {
46
56
return isPrivate ;
47
57
}
48
-
58
+ /**
59
+ * Gets the flashcard set id.
60
+ * @return the flashcard set id.
61
+ */
49
62
public int getFlashcardSetId (){
50
63
return flashcardSetId ;
51
64
}
52
-
65
+ /**
66
+ * Gets the id of the user who created the flashcard set.
67
+ * @return the if of the user who created the flashcard set.
68
+ */
53
69
public String getOwnerUsername (){
54
70
return ownerUsername ;
55
71
}
56
-
72
+ /**
73
+ * Gets a list of all the flashcards in the flashcard set.
74
+ * @return a list of all the flashcards in the flashcard set.
75
+ */
57
76
public List <Integer > getFlashcardIds (){
58
77
return flashcardIds ;
59
78
}
60
-
79
+ /**
80
+ * Sets the flashcard set title.
81
+ */
61
82
public void setTitle (String title ) {
62
83
this .title = title ;
63
84
}
64
-
85
+ /**
86
+ * Sets the flashcard set description.
87
+ */
65
88
public void setDescription (String description ) {
66
89
this .description = description ;
67
90
}
68
-
91
+ /**
92
+ * Sets the flashcard set id.
93
+ */
69
94
public void setFlashcardSetId (int flashcardSetId ) {
70
95
this .flashcardSetId = flashcardSetId ;
71
96
}
0 commit comments