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
24fd812b
Commit
24fd812b
authored
10 years ago
by
Daniel Vogel
Committed by
Daniel Gerhardt
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added creation time to SessionInfo
parent
e72dc455
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/SessionInfo.java
+10
-0
10 additions, 0 deletions
src/main/java/de/thm/arsnova/entities/SessionInfo.java
with
10 additions
and
0 deletions
src/main/java/de/thm/arsnova/entities/SessionInfo.java
+
10
−
0
View file @
24fd812b
...
@@ -27,6 +27,7 @@ public class SessionInfo {
...
@@ -27,6 +27,7 @@ public class SessionInfo {
private
String
keyword
;
private
String
keyword
;
private
boolean
active
;
private
boolean
active
;
private
String
courseType
;
private
String
courseType
;
private
long
creationTime
;
private
int
numQuestions
;
private
int
numQuestions
;
private
int
numAnswers
;
private
int
numAnswers
;
...
@@ -39,6 +40,7 @@ public class SessionInfo {
...
@@ -39,6 +40,7 @@ public class SessionInfo {
this
.
keyword
=
session
.
getKeyword
();
this
.
keyword
=
session
.
getKeyword
();
this
.
active
=
session
.
isActive
();
this
.
active
=
session
.
isActive
();
this
.
courseType
=
session
.
getCourseType
();
this
.
courseType
=
session
.
getCourseType
();
this
.
creationTime
=
session
.
getCreationTime
();
}
}
public
static
List
<
SessionInfo
>
fromSessionList
(
List
<
Session
>
sessions
)
{
public
static
List
<
SessionInfo
>
fromSessionList
(
List
<
Session
>
sessions
)
{
...
@@ -120,4 +122,12 @@ public class SessionInfo {
...
@@ -120,4 +122,12 @@ public class SessionInfo {
public
void
setNumUnanswered
(
int
numUnanswered
)
{
public
void
setNumUnanswered
(
int
numUnanswered
)
{
this
.
numUnanswered
=
numUnanswered
;
this
.
numUnanswered
=
numUnanswered
;
}
}
public
long
getCreationTime
()
{
return
creationTime
;
}
public
void
setCreationTime
(
long
creationTime
)
{
this
.
creationTime
=
creationTime
;
}
}
}
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