<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UserRequiredSkillPropertyBase StructType
 * @subpackage Structs
 */
abstract class UserRequiredSkillPropertyBase extends Entity
{
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * The UserId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $UserId;
    /**
     * The User
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var User
     */
    public $User;
    /**
     * 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;
    /**
     * The Note
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Note;
    /**
     * Constructor method for UserRequiredSkillPropertyBase
     * @uses UserRequiredSkillPropertyBase::setId()
     * @uses UserRequiredSkillPropertyBase::setUserId()
     * @uses UserRequiredSkillPropertyBase::setUser()
     * @uses UserRequiredSkillPropertyBase::setSkillId()
     * @uses UserRequiredSkillPropertyBase::setSkill()
     * @uses UserRequiredSkillPropertyBase::setProficiencyScaleId()
     * @uses UserRequiredSkillPropertyBase::setProficiencyScale()
     * @uses UserRequiredSkillPropertyBase::setProficiencyValueId()
     * @uses UserRequiredSkillPropertyBase::setProficiencyValue()
     * @uses UserRequiredSkillPropertyBase::setPriorityId()
     * @uses UserRequiredSkillPropertyBase::setPriority()
     * @uses UserRequiredSkillPropertyBase::setNote()
     * @param string $id
     * @param string $userId
     * @param User $user
     * @param string $skillId
     * @param Skill $skill
     * @param string $proficiencyScaleId
     * @param ProficiencyScale $proficiencyScale
     * @param string $proficiencyValueId
     * @param ProficiencyValue $proficiencyValue
     * @param string $priorityId
     * @param Priority $priority
     * @param string $note
     */
    public function __construct($id = null, $userId = null, User $user = null, $skillId = null, Skill $skill = null, $proficiencyScaleId = null, ProficiencyScale $proficiencyScale = null, $proficiencyValueId = null, ProficiencyValue $proficiencyValue = null, $priorityId = null, Priority $priority = null, $note = null)
    {
        $this
            ->setId($id)
            ->setUserId($userId)
            ->setUser($user)
            ->setSkillId($skillId)
            ->setSkill($skill)
            ->setProficiencyScaleId($proficiencyScaleId)
            ->setProficiencyScale($proficiencyScale)
            ->setProficiencyValueId($proficiencyValueId)
            ->setProficiencyValue($proficiencyValue)
            ->setPriorityId($priorityId)
            ->setPriority($priority)
            ->setNote($note);
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this->Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return UserRequiredSkillPropertyBase
     */
    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 UserId value
     * @return string|null
     */
    public function getUserId()
    {
        return $this->UserId;
    }
    /**
     * Set UserId value
     * @param string $userId
     * @return UserRequiredSkillPropertyBase
     */
    public function setUserId($userId = null)
    {
        // validation for constraint: string
        if (!is_null($userId) && !is_string($userId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($userId)), __LINE__);
        }
        $this->UserId = $userId;
        return $this;
    }
    /**
     * Get User value
     * @return User|null
     */
    public function getUser()
    {
        return $this->User;
    }
    /**
     * Set User value
     * @param User $user
     * @return UserRequiredSkillPropertyBase
     */
    public function setUser(User $user = null)
    {
        $this->User = $user;
        return $this;
    }
    /**
     * Get SkillId value
     * @return string|null
     */
    public function getSkillId()
    {
        return $this->SkillId;
    }
    /**
     * Set SkillId value
     * @param string $skillId
     * @return UserRequiredSkillPropertyBase
     */
    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 UserRequiredSkillPropertyBase
     */
    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 UserRequiredSkillPropertyBase
     */
    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 UserRequiredSkillPropertyBase
     */
    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 UserRequiredSkillPropertyBase
     */
    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 UserRequiredSkillPropertyBase
     */
    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 UserRequiredSkillPropertyBase
     */
    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 UserRequiredSkillPropertyBase
     */
    public function setPriority(Priority $priority = null)
    {
        $this->Priority = $priority;
        return $this;
    }
    /**
     * Get Note value
     * @return string|null
     */
    public function getNote()
    {
        return $this->Note;
    }
    /**
     * Set Note value
     * @param string $note
     * @return UserRequiredSkillPropertyBase
     */
    public function setNote($note = null)
    {
        // validation for constraint: string
        if (!is_null($note) && !is_string($note)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($note)), __LINE__);
        }
        $this->Note = $note;
        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 UserRequiredSkillPropertyBase
     */
    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__;
    }
}
