Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/src/Chamilo/CourseBundle/Entity/CLpIvInteraction.php

383 lines
6.5 KiB

<?php
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CLpIvInteraction
*
* @ORM\Table(name="c_lp_iv_interaction", indexes={@ORM\Index(name="lp_iv_id", columns={"lp_iv_id"})})
* @ORM\Entity
*/
class CLpIvInteraction
{
/**
* @var integer
*
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
private $iid;
/**
* @var integer
*
* @ORM\Column(name="c_id", type="integer")
*/
private $cId;
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
*/
private $id;
/**
* @var integer
*
* @ORM\Column(name="order_id", type="integer", nullable=false)
*/
private $orderId;
/**
* @var integer
*
* @ORM\Column(name="lp_iv_id", type="bigint", nullable=false)
*/
private $lpIvId;
/**
* @var string
*
* @ORM\Column(name="interaction_id", type="string", length=255, nullable=false)
*/
private $interactionId;
/**
* @var string
*
* @ORM\Column(name="interaction_type", type="string", length=255, nullable=false)
*/
private $interactionType;
/**
* @var float
*
* @ORM\Column(name="weighting", type="float", precision=10, scale=0, nullable=false)
*/
private $weighting;
/**
* @var string
*
* @ORM\Column(name="completion_time", type="string", length=16, nullable=false)
*/
private $completionTime;
/**
* @var string
*
* @ORM\Column(name="correct_responses", type="text", nullable=false)
*/
private $correctResponses;
/**
* @var string
*
* @ORM\Column(name="student_response", type="text", nullable=false)
*/
private $studentResponse;
/**
* @var string
*
* @ORM\Column(name="result", type="string", length=255, nullable=false)
*/
private $result;
/**
* @var string
*
* @ORM\Column(name="latency", type="string", length=16, nullable=false)
*/
private $latency;
/**
* Set orderId
*
* @param integer $orderId
* @return CLpIvInteraction
*/
public function setOrderId($orderId)
{
$this->orderId = $orderId;
return $this;
}
/**
* Get orderId
*
* @return integer
*/
public function getOrderId()
{
return $this->orderId;
}
/**
* Set lpIvId
*
* @param integer $lpIvId
* @return CLpIvInteraction
*/
public function setLpIvId($lpIvId)
{
$this->lpIvId = $lpIvId;
return $this;
}
/**
* Get lpIvId
*
* @return integer
*/
public function getLpIvId()
{
return $this->lpIvId;
}
/**
* Set interactionId
*
* @param string $interactionId
* @return CLpIvInteraction
*/
public function setInteractionId($interactionId)
{
$this->interactionId = $interactionId;
return $this;
}
/**
* Get interactionId
*
* @return string
*/
public function getInteractionId()
{
return $this->interactionId;
}
/**
* Set interactionType
*
* @param string $interactionType
* @return CLpIvInteraction
*/
public function setInteractionType($interactionType)
{
$this->interactionType = $interactionType;
return $this;
}
/**
* Get interactionType
*
* @return string
*/
public function getInteractionType()
{
return $this->interactionType;
}
/**
* Set weighting
*
* @param float $weighting
* @return CLpIvInteraction
*/
public function setWeighting($weighting)
{
$this->weighting = $weighting;
return $this;
}
/**
* Get weighting
*
* @return float
*/
public function getWeighting()
{
return $this->weighting;
}
/**
* Set completionTime
*
* @param string $completionTime
* @return CLpIvInteraction
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
return $this;
}
/**
* Get completionTime
*
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* Set correctResponses
*
* @param string $correctResponses
* @return CLpIvInteraction
*/
public function setCorrectResponses($correctResponses)
{
$this->correctResponses = $correctResponses;
return $this;
}
/**
* Get correctResponses
*
* @return string
*/
public function getCorrectResponses()
{
return $this->correctResponses;
}
/**
* Set studentResponse
*
* @param string $studentResponse
* @return CLpIvInteraction
*/
public function setStudentResponse($studentResponse)
{
$this->studentResponse = $studentResponse;
return $this;
}
/**
* Get studentResponse
*
* @return string
*/
public function getStudentResponse()
{
return $this->studentResponse;
}
/**
* Set result
*
* @param string $result
* @return CLpIvInteraction
*/
public function setResult($result)
{
$this->result = $result;
return $this;
}
/**
* Get result
*
* @return string
*/
public function getResult()
{
return $this->result;
}
/**
* Set latency
*
* @param string $latency
* @return CLpIvInteraction
*/
public function setLatency($latency)
{
$this->latency = $latency;
return $this;
}
/**
* Get latency
*
* @return string
*/
public function getLatency()
{
return $this->latency;
}
/**
* Set id
*
* @param integer $id
* @return CLpIvInteraction
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set cId
*
* @param integer $cId
* @return CLpIvInteraction
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
}