Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
11d38ec0
Commit
11d38ec0
authored
9 years ago
by
Andreas Gärtner
Browse files
Options
Downloads
Patches
Plain Diff
Task #16972: Add use case scenarios to SessionFeature entity.
parent
4b6a9f54
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/entities/SessionFeature.java
+61
-0
61 additions, 0 deletions
src/main/java/de/thm/arsnova/entities/SessionFeature.java
with
61 additions
and
0 deletions
src/main/java/de/thm/arsnova/entities/SessionFeature.java
+
61
−
0
View file @
11d38ec0
...
...
@@ -25,6 +25,13 @@ import io.swagger.annotations.ApiModelProperty;
@ApiModel
(
value
=
"session feature"
,
description
=
"the Session feature API"
)
public
class
SessionFeature
{
private
boolean
custom
=
true
;
private
boolean
clicker
=
false
;
private
boolean
peerGrading
=
false
;
private
boolean
liveFeedback
=
false
;
private
boolean
flashcard
=
false
;
private
boolean
total
=
false
;
private
boolean
jitt
=
true
;
private
boolean
lecture
=
true
;
private
boolean
feedback
=
true
;
...
...
@@ -35,6 +42,12 @@ public class SessionFeature {
public
SessionFeature
(
SessionFeature
features
)
{
this
();
if
(
features
!=
null
)
{
this
.
custom
=
features
.
custom
;
this
.
clicker
=
features
.
clicker
;
this
.
peerGrading
=
features
.
peerGrading
;
this
.
liveFeedback
=
features
.
liveFeedback
;
this
.
flashcard
=
features
.
flashcard
;
this
.
total
=
features
.
total
;
this
.
lecture
=
features
.
lecture
;
this
.
jitt
=
features
.
jitt
;
this
.
feedback
=
features
.
feedback
;
...
...
@@ -99,4 +112,52 @@ public class SessionFeature {
this
.
learningProgress
=
learningProgress
;
}
public
boolean
isCustom
()
{
return
custom
;
}
public
void
setCustom
(
boolean
custom
)
{
this
.
custom
=
custom
;
}
public
boolean
isClicker
()
{
return
clicker
;
}
public
void
setClicker
(
boolean
clicker
)
{
this
.
clicker
=
clicker
;
}
public
boolean
isPeerGrading
()
{
return
peerGrading
;
}
public
void
setPeerGrading
(
boolean
peerGrading
)
{
this
.
peerGrading
=
peerGrading
;
}
public
boolean
isFlashcard
()
{
return
flashcard
;
}
public
void
setFlashcard
(
boolean
flashcard
)
{
this
.
flashcard
=
flashcard
;
}
public
boolean
isTotal
()
{
return
total
;
}
public
void
setTotal
(
boolean
total
)
{
this
.
total
=
total
;
}
public
boolean
isLiveFeedback
()
{
return
liveFeedback
;
}
public
void
setLiveFeedback
(
boolean
liveFeedback
)
{
this
.
liveFeedback
=
liveFeedback
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment