public class ModuleSessionImpl extends DataContainerImpl implements ModuleSession
DataContainer.Entry
Constructor and Description |
---|
ModuleSessionImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getCompleted()
Gets the information about the completed state of the ModuleSession.
|
Date |
getEndTime()
Returns the end time of a ModuleSession.
|
Long |
getId()
Gets the ID of the ModuleSession.
|
int |
getIndex()
Gets the Index of the ModuleSession.
|
Module |
getModule()
Gets the Module this ModuleSession belongs to.
|
Date |
getStartTime()
Returns the start time of a ModuleSession.
|
int |
getTrialCount() |
List<Trial> |
getTrials() |
boolean |
isActive() |
void |
setCompleted(int completed)
Sets the ModuleSession used in the database to completed.
|
void |
setEndTime(Date endTime)
Sets the end time of a ModuleSession.
|
void |
setId(Long id)
Set the ID of the ModuleSession.
|
void |
setIndex(int index)
Sets the index of the ModuleSession used in the database.
|
void |
setModule(Module module)
Sets the Module of this ModuleSession.
|
void |
setStartTime(Date startTime)
Sets the start time of a ModuleSession.
|
void |
setTrials(List<Trial> trials) |
containsValue, getEntries, getEntriesImpl, getValue, putValue, setEntriesImpl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsValue, getEntries, getValue, putValue
public Date getStartTime()
ModuleSession
getStartTime
in interface ModuleSession
public void setStartTime(Date startTime)
ModuleSession
setStartTime
in interface ModuleSession
startTime
- the start time of a ModuleSessionpublic Date getEndTime()
ModuleSession
getEndTime
in interface ModuleSession
public void setEndTime(Date endTime)
ModuleSession
setEndTime
in interface ModuleSession
endTime
- the end time of a ModuleSessionpublic int getTrialCount()
public Long getId()
ModuleSession
getId
in interface ModuleSession
public void setId(Long id)
ModuleSession
setId
in interface ModuleSession
id
- ID for the ModuleSessionpublic Module getModule()
ModuleSession
getModule
in interface ModuleSession
public void setModule(Module module)
ModuleSession
setModule
in interface ModuleSession
module
- Module this ModuleSession belongs topublic boolean isActive()
isActive
in interface ModuleSession
public int getIndex()
ModuleSession
getIndex
in interface ModuleSession
public void setIndex(int index)
ModuleSession
setIndex
in interface ModuleSession
index
- Index of the ModuleSessionpublic void setCompleted(int completed)
ModuleSession
setCompleted
in interface ModuleSession
public int getCompleted()
ModuleSession
getCompleted
in interface ModuleSession
Copyright © 2013. All Rights Reserved.