<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for MeasuredValue StructType
 * @subpackage Structs
 */
class MeasuredValue extends AbstractStructBase
{
    /**
     * The measurementEquipmentTypeUsed
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\MultilingualString
     */
    public $measurementEquipmentTypeUsed;
    /**
     * The locationCharacteristicsOverride
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\LocationCharacteristicsOverride
     */
    public $locationCharacteristicsOverride;
    /**
     * The basicDataValue
     * @var \StructType\BasicDataValue
     */
    public $basicDataValue;
    /**
     * The measuredValueExtension
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ExtensionType
     */
    public $measuredValueExtension;
    /**
     * Constructor method for MeasuredValue
     * @uses MeasuredValue::setMeasurementEquipmentTypeUsed()
     * @uses MeasuredValue::setLocationCharacteristicsOverride()
     * @uses MeasuredValue::setBasicDataValue()
     * @uses MeasuredValue::setMeasuredValueExtension()
     * @param \StructType\MultilingualString $measurementEquipmentTypeUsed
     * @param \StructType\LocationCharacteristicsOverride $locationCharacteristicsOverride
     * @param \StructType\BasicDataValue $basicDataValue
     * @param \StructType\ExtensionType $measuredValueExtension
     */
    public function __construct(\StructType\MultilingualString $measurementEquipmentTypeUsed = null, \StructType\LocationCharacteristicsOverride $locationCharacteristicsOverride = null, \StructType\BasicDataValue $basicDataValue = null, \StructType\ExtensionType $measuredValueExtension = null)
    {
        $this
            ->setMeasurementEquipmentTypeUsed($measurementEquipmentTypeUsed)
            ->setLocationCharacteristicsOverride($locationCharacteristicsOverride)
            ->setBasicDataValue($basicDataValue)
            ->setMeasuredValueExtension($measuredValueExtension);
    }
    /**
     * Get measurementEquipmentTypeUsed value
     * @return \StructType\MultilingualString|null
     */
    public function getMeasurementEquipmentTypeUsed()
    {
        return $this->measurementEquipmentTypeUsed;
    }
    /**
     * Set measurementEquipmentTypeUsed value
     * @param \StructType\MultilingualString $measurementEquipmentTypeUsed
     * @return \StructType\MeasuredValue
     */
    public function setMeasurementEquipmentTypeUsed(\StructType\MultilingualString $measurementEquipmentTypeUsed = null)
    {
        $this->measurementEquipmentTypeUsed = $measurementEquipmentTypeUsed;
        return $this;
    }
    /**
     * Get locationCharacteristicsOverride value
     * @return \StructType\LocationCharacteristicsOverride|null
     */
    public function getLocationCharacteristicsOverride()
    {
        return $this->locationCharacteristicsOverride;
    }
    /**
     * Set locationCharacteristicsOverride value
     * @param \StructType\LocationCharacteristicsOverride $locationCharacteristicsOverride
     * @return \StructType\MeasuredValue
     */
    public function setLocationCharacteristicsOverride(\StructType\LocationCharacteristicsOverride $locationCharacteristicsOverride = null)
    {
        $this->locationCharacteristicsOverride = $locationCharacteristicsOverride;
        return $this;
    }
    /**
     * Get basicDataValue value
     * @return \StructType\BasicDataValue|null
     */
    public function getBasicDataValue()
    {
        return $this->basicDataValue;
    }
    /**
     * Set basicDataValue value
     * @param \StructType\BasicDataValue $basicDataValue
     * @return \StructType\MeasuredValue
     */
    public function setBasicDataValue(\StructType\BasicDataValue $basicDataValue = null)
    {
        $this->basicDataValue = $basicDataValue;
        return $this;
    }
    /**
     * Get measuredValueExtension value
     * @return \StructType\ExtensionType|null
     */
    public function getMeasuredValueExtension()
    {
        return $this->measuredValueExtension;
    }
    /**
     * Set measuredValueExtension value
     * @param \StructType\ExtensionType $measuredValueExtension
     * @return \StructType\MeasuredValue
     */
    public function setMeasuredValueExtension(\StructType\ExtensionType $measuredValueExtension = null)
    {
        $this->measuredValueExtension = $measuredValueExtension;
        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 \StructType\MeasuredValue
     */
    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__;
    }
}
