<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ProficiencyValuePropertyBase StructType
 * @subpackage Structs
 */
abstract class ProficiencyValuePropertyBase extends Entity
{
    /**
     * The Value
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $Value;
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * 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 Name
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Name;
    /**
     * Constructor method for ProficiencyValuePropertyBase
     * @uses ProficiencyValuePropertyBase::setValue()
     * @uses ProficiencyValuePropertyBase::setId()
     * @uses ProficiencyValuePropertyBase::setProficiencyScaleId()
     * @uses ProficiencyValuePropertyBase::setProficiencyScale()
     * @uses ProficiencyValuePropertyBase::setName()
     * @param int $value
     * @param string $id
     * @param string $proficiencyScaleId
     * @param ProficiencyScale $proficiencyScale
     * @param string $name
     */
    public function __construct($value = null, $id = null, $proficiencyScaleId = null, ProficiencyScale $proficiencyScale = null, $name = null)
    {
        $this
            -&gt;setValue($value)
            -&gt;setId($id)
            -&gt;setProficiencyScaleId($proficiencyScaleId)
            -&gt;setProficiencyScale($proficiencyScale)
            -&gt;setName($name);
    }
    /**
     * Get Value value
     * @return int
     */
    public function getValue()
    {
        return $this-&gt;Value;
    }
    /**
     * Set Value value
     * @param int $value
     * @return ProficiencyValuePropertyBase
     */
    public function setValue($value = null)
    {
        // validation for constraint: int
        if (!is_null($value) &amp;&amp; !is_numeric($value)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($value)), __LINE__);
        }
        $this-&gt;Value = $value;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return ProficiencyValuePropertyBase
     */
    public function setId($id = null)
    {
        // validation for constraint: string
        if (!is_null($id) &amp;&amp; !is_string($id)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
        }
        $this-&gt;Id = $id;
        return $this;
    }
    /**
     * Get ProficiencyScaleId value
     * @return string|null
     */
    public function getProficiencyScaleId()
    {
        return $this-&gt;ProficiencyScaleId;
    }
    /**
     * Set ProficiencyScaleId value
     * @param string $proficiencyScaleId
     * @return ProficiencyValuePropertyBase
     */
    public function setProficiencyScaleId($proficiencyScaleId = null)
    {
        // validation for constraint: string
        if (!is_null($proficiencyScaleId) &amp;&amp; !is_string($proficiencyScaleId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($proficiencyScaleId)), __LINE__);
        }
        $this-&gt;ProficiencyScaleId = $proficiencyScaleId;
        return $this;
    }
    /**
     * Get ProficiencyScale value
     * @return ProficiencyScale|null
     */
    public function getProficiencyScale()
    {
        return $this-&gt;ProficiencyScale;
    }
    /**
     * Set ProficiencyScale value
     * @param ProficiencyScale $proficiencyScale
     * @return ProficiencyValuePropertyBase
     */
    public function setProficiencyScale(ProficiencyScale $proficiencyScale = null)
    {
        $this-&gt;ProficiencyScale = $proficiencyScale;
        return $this;
    }
    /**
     * Get Name value
     * @return string|null
     */
    public function getName()
    {
        return $this-&gt;Name;
    }
    /**
     * Set Name value
     * @param string $name
     * @return ProficiencyValuePropertyBase
     */
    public function setName($name = null)
    {
        // validation for constraint: string
        if (!is_null($name) &amp;&amp; !is_string($name)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($name)), __LINE__);
        }
        $this-&gt;Name = $name;
        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 ProficiencyValuePropertyBase
     */
    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__;
    }
}
</pre></body></html>