<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AlertCMethod4PrimaryPointLocation StructType
 * @subpackage Structs
 */
class AlertCMethod4PrimaryPointLocation extends AbstractStructBase
{
    /**
     * The alertCLocation
     * @var \StructType\AlertCLocation
     */
    public $alertCLocation;
    /**
     * The offsetDistance
     * @var \StructType\OffsetDistance
     */
    public $offsetDistance;
    /**
     * The alertCMethod4PrimaryPointLocationExtension
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ExtensionType
     */
    public $alertCMethod4PrimaryPointLocationExtension;
    /**
     * Constructor method for AlertCMethod4PrimaryPointLocation
     * @uses AlertCMethod4PrimaryPointLocation::setAlertCLocation()
     * @uses AlertCMethod4PrimaryPointLocation::setOffsetDistance()
     * @uses AlertCMethod4PrimaryPointLocation::setAlertCMethod4PrimaryPointLocationExtension()
     * @param \StructType\AlertCLocation $alertCLocation
     * @param \StructType\OffsetDistance $offsetDistance
     * @param \StructType\ExtensionType $alertCMethod4PrimaryPointLocationExtension
     */
    public function __construct(\StructType\AlertCLocation $alertCLocation = null, \StructType\OffsetDistance $offsetDistance = null, \StructType\ExtensionType $alertCMethod4PrimaryPointLocationExtension = null)
    {
        $this
            ->setAlertCLocation($alertCLocation)
            ->setOffsetDistance($offsetDistance)
            ->setAlertCMethod4PrimaryPointLocationExtension($alertCMethod4PrimaryPointLocationExtension);
    }
    /**
     * Get alertCLocation value
     * @return \StructType\AlertCLocation|null
     */
    public function getAlertCLocation()
    {
        return $this->alertCLocation;
    }
    /**
     * Set alertCLocation value
     * @param \StructType\AlertCLocation $alertCLocation
     * @return \StructType\AlertCMethod4PrimaryPointLocation
     */
    public function setAlertCLocation(\StructType\AlertCLocation $alertCLocation = null)
    {
        $this->alertCLocation = $alertCLocation;
        return $this;
    }
    /**
     * Get offsetDistance value
     * @return \StructType\OffsetDistance|null
     */
    public function getOffsetDistance()
    {
        return $this->offsetDistance;
    }
    /**
     * Set offsetDistance value
     * @param \StructType\OffsetDistance $offsetDistance
     * @return \StructType\AlertCMethod4PrimaryPointLocation
     */
    public function setOffsetDistance(\StructType\OffsetDistance $offsetDistance = null)
    {
        $this->offsetDistance = $offsetDistance;
        return $this;
    }
    /**
     * Get alertCMethod4PrimaryPointLocationExtension value
     * @return \StructType\ExtensionType|null
     */
    public function getAlertCMethod4PrimaryPointLocationExtension()
    {
        return $this->alertCMethod4PrimaryPointLocationExtension;
    }
    /**
     * Set alertCMethod4PrimaryPointLocationExtension value
     * @param \StructType\ExtensionType $alertCMethod4PrimaryPointLocationExtension
     * @return \StructType\AlertCMethod4PrimaryPointLocation
     */
    public function setAlertCMethod4PrimaryPointLocationExtension(\StructType\ExtensionType $alertCMethod4PrimaryPointLocationExtension = null)
    {
        $this->alertCMethod4PrimaryPointLocationExtension = $alertCMethod4PrimaryPointLocationExtension;
        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\AlertCMethod4PrimaryPointLocation
     */
    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__;
    }
}
