Bladeren bron

Update Sequence classes.

Julio Montoya 9 jaren geleden
bovenliggende
commit
fcc2caa86c

+ 57 - 0
src/Chamilo/CoreBundle/Entity/Sequence.php

@@ -50,4 +50,61 @@ class Sequence
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return string
+     */
+    public function getPart()
+    {
+        return $this->part;
+    }
+
+    /**
+     * @param string $part
+     * @return Sequence
+     */
+    public function setPart($part)
+    {
+        $this->part = $part;
+
+        return $this;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getRowEntity()
+    {
+        return $this->rowEntity;
+    }
+
+    /**
+     * @param mixed $rowEntity
+     * @return Sequence
+     */
+    public function setRowEntity($rowEntity)
+    {
+        $this->rowEntity = $rowEntity;
+
+        return $this;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getRowEntityNext()
+    {
+        return $this->rowEntityNext;
+    }
+
+    /**
+     * @param mixed $rowEntityNext
+     * @return Sequence
+     */
+    public function setRowEntityNext($rowEntityNext)
+    {
+        $this->rowEntityNext = $rowEntityNext;
+
+        return $this;
+    }
 }
 }

+ 97 - 0
src/Chamilo/CoreBundle/Entity/SequenceCondition.php

@@ -66,4 +66,101 @@ class SequenceCondition
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return string
+     */
+    public function getDescription()
+    {
+        return $this->description;
+    }
+
+    /**
+     * @param string $description
+     * @return SequenceCondition
+     */
+    public function setDescription($description)
+    {
+        $this->description = $description;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getMathOperation()
+    {
+        return $this->mathOperation;
+    }
+
+    /**
+     * @param string $mathOperation
+     * @return SequenceCondition
+     */
+    public function setMathOperation($mathOperation)
+    {
+        $this->mathOperation = $mathOperation;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getParam()
+    {
+        return $this->param;
+    }
+
+    /**
+     * @param string $param
+     * @return SequenceCondition
+     */
+    public function setParam($param)
+    {
+        $this->param = $param;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getActTrue()
+    {
+        return $this->actTrue;
+    }
+
+    /**
+     * @param string $actTrue
+     * @return SequenceCondition
+     */
+    public function setActTrue($actTrue)
+    {
+        $this->actTrue = $actTrue;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getActFalse()
+    {
+        return $this->actFalse;
+    }
+
+    /**
+     * @param string $actFalse
+     * @return SequenceCondition
+     */
+    public function setActFalse($actFalse)
+    {
+        $this->actFalse = $actFalse;
+
+        return $this;
+    }
+
+
 }
 }

+ 40 - 0
src/Chamilo/CoreBundle/Entity/SequenceFormula.php

@@ -44,4 +44,44 @@ class SequenceFormula
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return mixed
+     */
+    public function getMethod()
+    {
+        return $this->method;
+    }
+
+    /**
+     * @param mixed $method
+     * @return SequenceFormula
+     */
+    public function setMethod($method)
+    {
+        $this->method = $method;
+
+        return $this;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getVariable()
+    {
+        return $this->variable;
+    }
+
+    /**
+     * @param mixed $variable
+     * @return SequenceFormula
+     */
+    public function setVariable($variable)
+    {
+        $this->variable = $variable;
+
+        return $this;
+    }
+
+
 }
 }

+ 97 - 0
src/Chamilo/CoreBundle/Entity/SequenceMethod.php

@@ -66,4 +66,101 @@ class SequenceMethod
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return string
+     */
+    public function getDescription()
+    {
+        return $this->description;
+    }
+
+    /**
+     * @param string $description
+     * @return SequenceMethod
+     */
+    public function setDescription($description)
+    {
+        $this->description = $description;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getFormula()
+    {
+        return $this->formula;
+    }
+
+    /**
+     * @param string $formula
+     * @return SequenceMethod
+     */
+    public function setFormula($formula)
+    {
+        $this->formula = $formula;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getAssign()
+    {
+        return $this->assign;
+    }
+
+    /**
+     * @param string $assign
+     * @return SequenceMethod
+     */
+    public function setAssign($assign)
+    {
+        $this->assign = $assign;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getMetType()
+    {
+        return $this->metType;
+    }
+
+    /**
+     * @param string $metType
+     * @return SequenceMethod
+     */
+    public function setMetType($metType)
+    {
+        $this->metType = $metType;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getActFalse()
+    {
+        return $this->actFalse;
+    }
+
+    /**
+     * @param string $actFalse
+     * @return SequenceMethod
+     */
+    public function setActFalse($actFalse)
+    {
+        $this->actFalse = $actFalse;
+
+        return $this;
+    }
+
+
 }
 }

+ 95 - 0
src/Chamilo/CoreBundle/Entity/SequenceRowEntity.php

@@ -65,4 +65,99 @@ class SequenceRowEntity
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return int
+     */
+    public function getCId()
+    {
+        return $this->cId;
+    }
+
+    /**
+     * @param int $cId
+     * @return SequenceRowEntity
+     */
+    public function setCId($cId)
+    {
+        $this->cId = $cId;
+
+        return $this;
+    }
+
+    /**
+     * @return int
+     */
+    public function getSessionId()
+    {
+        return $this->sessionId;
+    }
+
+    /**
+     * @param int $sessionId
+     * @return SequenceRowEntity
+     */
+    public function setSessionId($sessionId)
+    {
+        $this->sessionId = $sessionId;
+
+        return $this;
+    }
+
+    /**
+     * @return int
+     */
+    public function getRowId()
+    {
+        return $this->rowId;
+    }
+
+    /**
+     * @param int $rowId
+     * @return SequenceRowEntity
+     */
+    public function setRowId($rowId)
+    {
+        $this->rowId = $rowId;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getName()
+    {
+        return $this->name;
+    }
+
+    /**
+     * @param string $name
+     * @return SequenceRowEntity
+     */
+    public function setName($name)
+    {
+        $this->name = $name;
+
+        return $this;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getType()
+    {
+        return $this->type;
+    }
+
+    /**
+     * @param mixed $type
+     * @return SequenceRowEntity
+     */
+    public function setType($type)
+    {
+        $this->type = $type;
+
+        return $this;
+    }
 }
 }

+ 20 - 0
src/Chamilo/CoreBundle/Entity/SequenceRule.php

@@ -38,4 +38,24 @@ class SequenceRule
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return string
+     */
+    public function getDescription()
+    {
+        return $this->description;
+    }
+
+    /**
+     * @param string $description
+     * @return SequenceRule
+     */
+    public function setDescription($description)
+    {
+        $this->description = $description;
+
+        return $this;
+    }
+
 }
 }

+ 40 - 0
src/Chamilo/CoreBundle/Entity/SequenceRuleCondition.php

@@ -43,4 +43,44 @@ class SequenceRuleCondition
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return mixed
+     */
+    public function getRule()
+    {
+        return $this->rule;
+    }
+
+    /**
+     * @param mixed $rule
+     * @return SequenceRuleCondition
+     */
+    public function setRule($rule)
+    {
+        $this->rule = $rule;
+
+        return $this;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getCondition()
+    {
+        return $this->condition;
+    }
+
+    /**
+     * @param mixed $condition
+     * @return SequenceRuleCondition
+     */
+    public function setCondition($condition)
+    {
+        $this->condition = $condition;
+
+        return $this;
+    }
+
+
 }
 }

+ 48 - 0
src/Chamilo/CoreBundle/Entity/SequenceRuleMethod.php

@@ -50,4 +50,52 @@ class SequenceRuleMethod
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return string
+     */
+    public function getMethodOrder()
+    {
+        return $this->methodOrder;
+    }
+
+    /**
+     * @param string $methodOrder
+     */
+    public function setMethodOrder($methodOrder)
+    {
+        $this->methodOrder = $methodOrder;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getRule()
+    {
+        return $this->rule;
+    }
+
+    /**
+     * @param mixed $rule
+     */
+    public function setRule($rule)
+    {
+        $this->rule = $rule;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getMethod()
+    {
+        return $this->method;
+    }
+
+    /**
+     * @param mixed $method
+     */
+    public function setMethod($method)
+    {
+        $this->method = $method;
+    }
 }
 }

+ 61 - 0
src/Chamilo/CoreBundle/Entity/SequenceTypeEntity.php

@@ -52,4 +52,65 @@ class SequenceTypeEntity
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return string
+     */
+    public function getName()
+    {
+        return $this->name;
+    }
+
+    /**
+     * @param string $name
+     *
+     * @return SequenceTypeEntity
+     */
+    public function setName($name)
+    {
+        $this->name = $name;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getDescription()
+    {
+        return $this->description;
+    }
+
+    /**
+     * @param string $description
+     *
+     * @return SequenceTypeEntity
+     */
+    public function setDescription($description)
+    {
+        $this->description = $description;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getEntityTable()
+    {
+        return $this->entityTable;
+    }
+
+    /**
+     * @param string $entityTable
+     *
+     * @return SequenceTypeEntity
+     */
+    public function setEntityTable($entityTable)
+    {
+        $this->entityTable = $entityTable;
+
+        return $this;
+    }
+
 }
 }

+ 41 - 0
src/Chamilo/CoreBundle/Entity/SequenceValid.php

@@ -44,4 +44,45 @@ class SequenceValid
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return mixed
+     */
+    public function getVariable()
+    {
+        return $this->variable;
+    }
+
+    /**
+     * @param mixed $variable
+     *
+     * @return SequenceValid
+     */
+    public function setVariable($variable)
+    {
+        $this->variable = $variable;
+
+        return $this;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getCondition()
+    {
+        return $this->condition;
+    }
+
+    /**
+     * @param mixed $condition
+     *
+     * @return SequenceValid
+     */
+    public function setCondition($condition)
+    {
+        $this->condition = $condition;
+
+        return $this;
+    }
+
 }
 }

+ 202 - 0
src/Chamilo/CoreBundle/Entity/SequenceValue.php

@@ -100,4 +100,206 @@ class SequenceValue
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return int
+     */
+    public function getUserId()
+    {
+        return $this->userId;
+    }
+
+    /**
+     * @param int $userId
+     *
+     * @return SequenceValue
+     */
+    public function setUserId($userId)
+    {
+        $this->userId = $userId;
+
+        return $this;
+    }
+
+    /**
+     * @return mixed
+     */
+    public function getEntity()
+    {
+        return $this->entity;
+    }
+
+    /**
+     * @param mixed $entity
+     *
+     * @return SequenceValue
+     */
+    public function setEntity($entity)
+    {
+        $this->entity = $entity;
+
+        return $this;
+    }
+
+    /**
+     * @return int
+     */
+    public function getAdvance()
+    {
+        return $this->advance;
+    }
+
+    /**
+     * @param int $advance
+     *
+     * @return SequenceValue
+     */
+    public function setAdvance($advance)
+    {
+        $this->advance = $advance;
+
+        return $this;
+    }
+
+    /**
+     * @return int
+     */
+    public function getCompleteItems()
+    {
+        return $this->completeItems;
+    }
+
+    /**
+     * @param int $completeItems
+     *
+     * @return SequenceValue
+     */
+    public function setCompleteItems($completeItems)
+    {
+        $this->completeItems = $completeItems;
+
+        return $this;
+    }
+
+    /**
+     * @return int
+     */
+    public function getTotalItems()
+    {
+        return $this->totalItems;
+    }
+
+    /**
+     * @param int $totalItems
+     *
+     * @return SequenceValue
+     */
+    public function setTotalItems($totalItems)
+    {
+        $this->totalItems = $totalItems;
+
+        return $this;
+    }
+
+    /**
+     * @return int
+     */
+    public function getSuccess()
+    {
+        return $this->success;
+    }
+
+    /**
+     * @param int $success
+     *
+     * @return SequenceValue
+     */
+    public function setSuccess($success)
+    {
+        $this->success = $success;
+
+        return $this;
+    }
+
+    /**
+     * @return \DateTime
+     */
+    public function getSuccessDate()
+    {
+        return $this->successDate;
+    }
+
+    /**
+     * @param \DateTime $successDate
+     *
+     * @return SequenceValue
+     */
+    public function setSuccessDate($successDate)
+    {
+        $this->successDate = $successDate;
+
+        return $this;
+    }
+
+    /**
+     * @return int
+     */
+    public function getAvailable()
+    {
+        return $this->available;
+    }
+
+    /**
+     * @param int $available
+     *
+     * @return SequenceValue
+     */
+    public function setAvailable($available)
+    {
+        $this->available = $available;
+
+        return $this;
+    }
+
+    /**
+     * @return \DateTime
+     */
+    public function getAvailableStartDate()
+    {
+        return $this->availableStartDate;
+    }
+
+    /**
+     * @param \DateTime $availableStartDate
+     *
+     * @return SequenceValue
+     */
+    public function setAvailableStartDate($availableStartDate)
+    {
+        $this->availableStartDate = $availableStartDate;
+
+        return $this;
+    }
+
+    /**
+     * @return \DateTime
+     */
+    public function getAvailableEndDate()
+    {
+        return $this->availableEndDate;
+    }
+
+    /**
+     * @param \DateTime $availableEndDate
+     *
+     * @return SequenceValue
+     */
+    public function setAvailableEndDate($availableEndDate)
+    {
+        $this->availableEndDate = $availableEndDate;
+
+        return $this;
+    }
+
+
 }
 }

+ 61 - 0
src/Chamilo/CoreBundle/Entity/SequenceVariable.php

@@ -52,4 +52,65 @@ class SequenceVariable
     {
     {
         return $this->id;
         return $this->id;
     }
     }
+
+    /**
+     * @return string
+     */
+    public function getName()
+    {
+        return $this->name;
+    }
+
+    /**
+     * @param string $name
+     *
+     * @return SequenceVariable
+     */
+    public function setName($name)
+    {
+        $this->name = $name;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getDefaultValue()
+    {
+        return $this->defaultValue;
+    }
+
+    /**
+     * @param string $defaultValue
+     *
+     * @return SequenceVariable
+     */
+    public function setDefaultValue($defaultValue)
+    {
+        $this->defaultValue = $defaultValue;
+
+        return $this;
+    }
+
+    /**
+     * @return string
+     */
+    public function getDescription()
+    {
+        return $this->description;
+    }
+
+    /**
+     * @param string $description
+     *
+     * @return SequenceVariable
+     */
+    public function setDescription($description)
+    {
+        $this->description = $description;
+
+        return $this;
+    }
+
 }
 }