<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CompetencyRequiredSkillPropertyBase StructType
 * @subpackage Structs
 */
abstract class CompetencyRequiredSkillPropertyBase extends Entity
{
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * The CompetencyId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $CompetencyId;
    /**
     * The Competency
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Competency
     */
    public $Competency;
    /**
     * The SkillId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $SkillId;
    /**
     * The Skill
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Skill
     */
    public $Skill;
    /**
     * The ProficiencyScaleId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ProficiencyScaleId;
    /**
     * The ProficiencyScale
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var ProficiencyScale
     */
    public $ProficiencyScale;
    /**
     * The ProficiencyValueId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ProficiencyValueId;
    /**
     * The ProficiencyValue
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var ProficiencyValue
     */
    public $ProficiencyValue;
    /**
     * The PriorityId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $PriorityId;
    /**
     * The Priority
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Priority
     */
    public $Priority;
    /**
     * Constructor method for CompetencyRequiredSkillPropertyBase
     * @uses CompetencyRequiredSkillPropertyBase::setId()
     * @uses CompetencyRequiredSkillPropertyBase::setCompetencyId()
     * @uses CompetencyRequiredSkillPropertyBase::setCompetency()
     * @uses CompetencyRequiredSkillPropertyBase::setSkillId()
     * @uses CompetencyRequiredSkillPropertyBase::setSkill()
     * @uses CompetencyRequiredSkillPropertyBase::setProficiencyScaleId()
     * @uses CompetencyRequiredSkillPropertyBase::setProficiencyScale()
     * @uses CompetencyRequiredSkillPropertyBase::setProficiencyValueId()
     * @uses CompetencyRequiredSkillPropertyBase::setProficiencyValue()
     * @uses CompetencyRequiredSkillPropertyBase::setPriorityId()
     * @uses CompetencyRequiredSkillPropertyBase::setPriority()
     * @param string $id
     * @param string $competencyId
     * @param Competency $competency
     * @param string $skillId
     * @param Skill $skill
     * @param string $proficiencyScaleId
     * @param ProficiencyScale $proficiencyScale
     * @param string $proficiencyValueId
     * @param ProficiencyValue $proficiencyValue
     * @param string $priorityId
     * @param Priority $priority
     */
    public function __construct($id = null, $competencyId = null, Competency $competency = null, $skillId = null, Skill $skill = null, $proficiencyScaleId = null, ProficiencyScale $proficiencyScale = null, $proficiencyValueId = null, ProficiencyValue $proficiencyValue = null, $priorityId = null, Priority $priority = null)
    {
        $this
            ->setId($id)
            ->setCompetencyId($competencyId)
            ->setCompetency($competency)
            ->setSkillId($skillId)
            ->setSkill($skill)
            ->setProficiencyScaleId($proficiencyScaleId)
            ->setProficiencyScale($proficiencyScale)
            ->setProficiencyValueId($proficiencyValueId)
            ->setProficiencyValue($proficiencyValue)
            ->setPriorityId($priorityId)
            ->setPriority($priority);
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this->Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setId($id = null)
    {
        // validation for constraint: string
        if (!is_null($id) && !is_string($id)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
        }
        $this->Id = $id;
        return $this;
    }
    /**
     * Get CompetencyId value
     * @return string|null
     */
    public function getCompetencyId()
    {
        return $this->CompetencyId;
    }
    /**
     * Set CompetencyId value
     * @param string $competencyId
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setCompetencyId($competencyId = null)
    {
        // validation for constraint: string
        if (!is_null($competencyId) && !is_string($competencyId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($competencyId)), __LINE__);
        }
        $this->CompetencyId = $competencyId;
        return $this;
    }
    /**
     * Get Competency value
     * @return Competency|null
     */
    public function getCompetency()
    {
        return $this->Competency;
    }
    /**
     * Set Competency value
     * @param Competency $competency
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setCompetency(Competency $competency = null)
    {
        $this->Competency = $competency;
        return $this;
    }
    /**
     * Get SkillId value
     * @return string|null
     */
    public function getSkillId()
    {
        return $this->SkillId;
    }
    /**
     * Set SkillId value
     * @param string $skillId
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setSkillId($skillId = null)
    {
        // validation for constraint: string
        if (!is_null($skillId) && !is_string($skillId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($skillId)), __LINE__);
        }
        $this->SkillId = $skillId;
        return $this;
    }
    /**
     * Get Skill value
     * @return Skill|null
     */
    public function getSkill()
    {
        return $this->Skill;
    }
    /**
     * Set Skill value
     * @param Skill $skill
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setSkill(Skill $skill = null)
    {
        $this->Skill = $skill;
        return $this;
    }
    /**
     * Get ProficiencyScaleId value
     * @return string|null
     */
    public function getProficiencyScaleId()
    {
        return $this->ProficiencyScaleId;
    }
    /**
     * Set ProficiencyScaleId value
     * @param string $proficiencyScaleId
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setProficiencyScaleId($proficiencyScaleId = null)
    {
        // validation for constraint: string
        if (!is_null($proficiencyScaleId) && !is_string($proficiencyScaleId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($proficiencyScaleId)), __LINE__);
        }
        $this->ProficiencyScaleId = $proficiencyScaleId;
        return $this;
    }
    /**
     * Get ProficiencyScale value
     * @return ProficiencyScale|null
     */
    public function getProficiencyScale()
    {
        return $this->ProficiencyScale;
    }
    /**
     * Set ProficiencyScale value
     * @param ProficiencyScale $proficiencyScale
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setProficiencyScale(ProficiencyScale $proficiencyScale = null)
    {
        $this->ProficiencyScale = $proficiencyScale;
        return $this;
    }
    /**
     * Get ProficiencyValueId value
     * @return string|null
     */
    public function getProficiencyValueId()
    {
        return $this->ProficiencyValueId;
    }
    /**
     * Set ProficiencyValueId value
     * @param string $proficiencyValueId
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setProficiencyValueId($proficiencyValueId = null)
    {
        // validation for constraint: string
        if (!is_null($proficiencyValueId) && !is_string($proficiencyValueId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($proficiencyValueId)), __LINE__);
        }
        $this->ProficiencyValueId = $proficiencyValueId;
        return $this;
    }
    /**
     * Get ProficiencyValue value
     * @return ProficiencyValue|null
     */
    public function getProficiencyValue()
    {
        return $this->ProficiencyValue;
    }
    /**
     * Set ProficiencyValue value
     * @param ProficiencyValue $proficiencyValue
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setProficiencyValue(ProficiencyValue $proficiencyValue = null)
    {
        $this->ProficiencyValue = $proficiencyValue;
        return $this;
    }
    /**
     * Get PriorityId value
     * @return string|null
     */
    public function getPriorityId()
    {
        return $this->PriorityId;
    }
    /**
     * Set PriorityId value
     * @param string $priorityId
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setPriorityId($priorityId = null)
    {
        // validation for constraint: string
        if (!is_null($priorityId) && !is_string($priorityId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($priorityId)), __LINE__);
        }
        $this->PriorityId = $priorityId;
        return $this;
    }
    /**
     * Get Priority value
     * @return Priority|null
     */
    public function getPriority()
    {
        return $this->Priority;
    }
    /**
     * Set Priority value
     * @param Priority $priority
     * @return CompetencyRequiredSkillPropertyBase
     */
    public function setPriority(Priority $priority = null)
    {
        $this->Priority = $priority;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return CompetencyRequiredSkillPropertyBase
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
