<commit_before><?php
/**
 * Created by JetBrains PhpStorm.
 * User: bnissen
 * Date: 11/4/13
 * Time: 1:32 PM
 * To change this template use File | Settings | File Templates.
 */

namespace elevate\HVObjects\Thing\DataXML\Type;

use elevate\HVObjects\Generic\CodableValue;
use elevate\HVObjects\Generic\Date\DateTime;
use elevate\HVObjects\Generic\Date\Time;
use elevate\HVObjects\Generic\Activity;
use JMS\Serializer\Annotation\Type;
use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\XmlMap;
use JMS\Serializer\Annotation\XmlRoot;
use JMS\Serializer\Annotation\XmlAttribute;
use JMS\Serializer\Annotation\XmlList;
use JMS\Serializer\Annotation\Groups;
use Doctrine\Common\Collections\ArrayCollection;
use PhpCollection\Map;
use PhpCollection\Sequence;

/** @XmlRoot("sleep-pm") */
class SleepRelatedActivityType
{

    /**
     * @Type("elevate\HVObjects\Generic\Date\DateTime")
     */
    protected $when;

    /**
     * @Type("elevate\HVObjects\Generic\Date\Time")
     */
    protected $caffeine;

    /**
     * @Type("elevate\HVObjects\Generic\Date\Time")
     */
    protected $alcohol;

    /**
     * @Type("elevate\HVObjects\Generic\Activity")
     */
    protected $nap;

    /**
     * @Type("elevate\HVObjects\Generic\Activity")
     */
    protected $exercise;

    /**
     * @Type("integer")
     */
    protected $sleepiness;

    function __construct(
        DateTime $when = NULL,
        Time $caffeine = NULL,
        Time $alcohol = NULL,
        Activity $nap = NULL,
        Activity $exercise = NULL,
        $sleepiness = NULL
    )
    {
        $this->when         = $when;
        $this->caffeine     = $caffeine;
        $this->alcohol      = $alcohol;
        $this->nap          = $nap;
        $this->exercise     = $exercise;
        $this->sleepiness   = $sleepiness;

    }

    /**
     * @param mixed $alcohol
     */
    public function setAlcohol($alcohol)
    {
        $this->alcohol = $alcohol;
    }

    /**
     * @return mixed
     */
    public function getAlcohol()
    {
        return $this->alcohol;
    }

    /**
     * @param mixed $caffeine
     */
    public function setCaffeine($caffeine)
    {
        $this->caffeine = $caffeine;
    }

    /**
     * @return mixed
     */
    public function getCaffeine()
    {
        return $this->caffeine;
    }

    /**
     * @param mixed $exercise
     */
    public function setExercise($exercise)
    {
        $this->exercise = $exercise;
    }

    /**
     * @return mixed
     */
    public function getExercise()
    {
        return $this->exercise;
    }

    /**
     * @param mixed $nap
     */
    public function setNap($nap)
    {
        $this->nap = $nap;
    }

    /**
     * @return mixed
     */
    public function getNap()
    {
        return $this->nap;
    }<commit_msg>Testing<commit_after><?php
/**
 * Created by JetBrains PhpStorm.
 * User: bnissen
 * Date: 11/4/13
 * Time: 1:32 PM
 * To change this template use File | Settings | File Templates.
 */

namespace elevate\HVObjects\Thing\DataXML\Type;

use elevate\HVObjects\Generic\CodableValue;
use elevate\HVObjects\Generic\Date\DateTime;
use elevate\HVObjects\Generic\Date\Time;
use elevate\HVObjects\Generic\Activity;
use JMS\Serializer\Annotation\Type;
use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\XmlMap;
use JMS\Serializer\Annotation\XmlRoot;
use JMS\Serializer\Annotation\XmlAttribute;
use JMS\Serializer\Annotation\XmlList;
use JMS\Serializer\Annotation\Groups;
use Doctrine\Common\Collections\ArrayCollection;
use PhpCollection\Map;
use PhpCollection\Sequence;

/** @XmlRoot("sleep-pm") */
class SleepRelatedActivityType
{

    /**
     * @Type("elevate\HVObjects\Generic\Date\DateTime")
     */
    protected $when;

    /**
     * @Type("elevate\HVObjects\Generic\Date\Time")
     */
    protected $caffeine;

    /**
     * @Type("elevate\HVObjects\Generic\Date\Time")
     */
    protected $alcohol;

    /**
     * @Type("elevate\HVObjects\Generic\Activity")
     */
    protected $nap;

    /**
     * @Type("elevate\HVObjects\Generic\Activity")
     */
    protected $exercise;

    /**
     * @Type("integer")
     */
    protected $sleepiness;

    function __construct(
        DateTime $when = NULL,
        Time $caffeine = NULL,
        Time $alcohol = NULL,
        Activity $nap = NULL,
        Activity $exercise = NULL,
        $sleepiness = NULL
    )
    {
        $this->when         = $when;
        $this->caffeine     = $caffeine;
        $this->alcohol      = $alcohol;
        $this->nap          = $nap;
        $this->exercise     = $exercise;
        $this->sleepiness   = $sleepiness;

    }

    /**
     * @param mixed $alcohol
     */
    public function setAlcohol($alcohol)
    {
        $this->alcohol = $alcohol;
    }

    /**
     * @return mixed
     */
    public function getAlcohol()
    {
        return $this->alcohol;
    }

    /**
     * @param mixed $caffeine
     */
    public function setCaffeine($caffeine)
    {
        $this->caffeine = $caffeine;
    }

    /**
     * @return mixed
     */
    public function getCaffeine()
    {
        return $this->caffeine;
    }

    /**
     * @param mixed $exercise
     */
    public function setExercise($exercise)
    {
        $this->exercise = $exercise;
    }

    /**
     * @return mixed
     */
    public function getExercise()
    {
        return $this->exercise;
    }

    /**
     * @param mixed $nap
     */
    public function setNap($nap)
    {
        $this->nap = $nap;
    }

    /**
     * @return mixed
     */
    public function getNap()
    {
        return $this->nap; 
    }
{'fraction_non_alphanumeric': 0.13625906919129357, 'fraction_numerical': 0.0028313572818970093, 'mean_word_length': 2.0919037199124726, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3751746', 'n_tokens_mistral': 1892, 'n_tokens_neox': 1771, 'n_words': 326}