ch.tatool.app.data
Class TrialImpl

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

public class TrialImpl
extends DataContainerImpl
implements Trial

Represents a trial of a session.

Author:
Michael Ruflin

Nested Class Summary
 
Nested classes/interfaces inherited from interface ch.tatool.data.DataContainer
DataContainer.Entry
 
Constructor Summary
TrialImpl()
           
 
Method Summary
 String getCorrectResponse()
           
 Date getEndTime()
           
 String getGivenResponse()
           
 Long getId()
           
 int getIndex()
           
 int getLevel()
           
 int getMaxPoints()
           
 int getMinPoints()
           
 String getOutcome()
           
 String getParentId()
           
 int getPoints()
           
 String getQuestion()
           
 ModuleSession getSession()
           
 Date getStartTime()
           
 void setCorrectResponse(String correctResponse)
           
 void setEndTime(Date endTime)
           
 void setGivenResponse(String givenResponse)
           
 void setId(Long id)
           
 void setIndex(int index)
           
 void setLevel(int level)
           
 void setMaxPoints(int maxPoints)
           
 void setMinPoints(int minPoints)
           
 void setOutcome(String outcome)
           
 void setParentId(String parentId)
           
 void setPoints(int points)
           
 void setQuestion(String question)
           
 void setSession(ModuleSession session)
           
 void setStartTime(Date startTime)
           
 
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

TrialImpl

public TrialImpl()
Method Detail

getId

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

setId

public void setId(Long id)

getParentId

public String getParentId()
Specified by:
getParentId in interface Trial

setParentId

public void setParentId(String parentId)
Specified by:
setParentId in interface Trial

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

getMinPoints

public int getMinPoints()

setMinPoints

public void setMinPoints(int minPoints)

getMaxPoints

public int getMaxPoints()

setMaxPoints

public void setMaxPoints(int maxPoints)

getQuestion

public String getQuestion()

setQuestion

public void setQuestion(String question)

getCorrectResponse

public String getCorrectResponse()

setCorrectResponse

public void setCorrectResponse(String correctResponse)

getGivenResponse

public String getGivenResponse()

setGivenResponse

public void setGivenResponse(String givenResponse)

getOutcome

public String getOutcome()

setOutcome

public void setOutcome(String outcome)

getPoints

public int getPoints()

setPoints

public void setPoints(int points)

getSession

public ModuleSession getSession()
Specified by:
getSession in interface Trial

setSession

public void setSession(ModuleSession session)
Specified by:
setSession in interface Trial

getStartTime

public Date getStartTime()

setStartTime

public void setStartTime(Date startTime)

getEndTime

public Date getEndTime()

setEndTime

public void setEndTime(Date endTime)

getIndex

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

setIndex

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


Copyright © 2012. All Rights Reserved.