ch.tatool.app.data
Class ModuleSessionImpl

java.lang.Object
  extended by ch.tatool.app.data.DataContainerImpl
      extended by ch.tatool.app.data.ModuleSessionImpl
All Implemented Interfaces:
DataContainer, ModuleSession

public class ModuleSessionImpl
extends DataContainerImpl
implements ModuleSession

Represents a module session (set of trials).

Author:
Michael Ruflin

Nested Class Summary
 
Nested classes/interfaces inherited from interface ch.tatool.data.DataContainer
DataContainer.Entry
 
Constructor Summary
ModuleSessionImpl()
           
 
Method Summary
 Date getEndTime()
           
 Long getId()
           
 int getIndex()
           
 Module getModule()
           
 Date getStartTime()
           
 int getTrialCount()
           
 List<Trial> getTrials()
           
 boolean isActive()
           
 void setEndTime(Date endTime)
           
 void setId(Long id)
           
 void setIndex(int index)
           
 void setModule(Module module)
           
 void setStartTime(Date startTime)
           
 void setTrials(List<Trial> trials)
           
 
Methods inherited from class ch.tatool.app.data.DataContainerImpl
containsValue, getEntries, getEntriesImpl, getValue, putValue, setEntriesImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.tatool.data.DataContainer
containsValue, getEntries, getValue, putValue
 

Constructor Detail

ModuleSessionImpl

public ModuleSessionImpl()
Method Detail

getStartTime

public Date getStartTime()
Specified by:
getStartTime in interface ModuleSession

setStartTime

public void setStartTime(Date startTime)
Specified by:
setStartTime in interface ModuleSession

getEndTime

public Date getEndTime()
Specified by:
getEndTime in interface ModuleSession

setEndTime

public void setEndTime(Date endTime)
Specified by:
setEndTime in interface ModuleSession

getTrials

public List<Trial> getTrials()

setTrials

public void setTrials(List<Trial> trials)

getTrialCount

public int getTrialCount()

getId

public Long getId()
Specified by:
getId in interface ModuleSession

setId

public void setId(Long id)
Specified by:
setId in interface ModuleSession

getModule

public Module getModule()
Specified by:
getModule in interface ModuleSession

setModule

public void setModule(Module module)
Specified by:
setModule in interface ModuleSession

isActive

public boolean isActive()
Specified by:
isActive in interface ModuleSession

getIndex

public int getIndex()
Specified by:
getIndex in interface ModuleSession

setIndex

public void setIndex(int index)
Specified by:
setIndex in interface ModuleSession


Copyright © 2012. All Rights Reserved.