<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AlertCMethod4Point StructType
 * @subpackage Structs
 */
class AlertCMethod4Point extends AlertCPoint
{
    /**
     * The alertCDirection
     * @var \StructType\AlertCDirection
     */
    public $alertCDirection;
    /**
     * The alertCMethod4PrimaryPointLocation
     * @var \StructType\AlertCMethod4PrimaryPointLocation
     */
    public $alertCMethod4PrimaryPointLocation;
    /**
     * The alertCMethod4PointExtension
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ExtensionType
     */
    public $alertCMethod4PointExtension;
    /**
     * Constructor method for AlertCMethod4Point
     * @uses AlertCMethod4Point::setAlertCDirection()
     * @uses AlertCMethod4Point::setAlertCMethod4PrimaryPointLocation()
     * @uses AlertCMethod4Point::setAlertCMethod4PointExtension()
     * @param \StructType\AlertCDirection $alertCDirection
     * @param \StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation
     * @param \StructType\ExtensionType $alertCMethod4PointExtension
     */
    public function __construct(\StructType\AlertCDirection $alertCDirection = null, \StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation = null, \StructType\ExtensionType $alertCMethod4PointExtension = null)
    {
        $this
            ->setAlertCDirection($alertCDirection)
            ->setAlertCMethod4PrimaryPointLocation($alertCMethod4PrimaryPointLocation)
            ->setAlertCMethod4PointExtension($alertCMethod4PointExtension);
    }
    /**
     * Get alertCDirection value
     * @return \StructType\AlertCDirection|null
     */
    public function getAlertCDirection()
    {
        return $this->alertCDirection;
    }
    /**
     * Set alertCDirection value
     * @param \StructType\AlertCDirection $alertCDirection
     * @return \StructType\AlertCMethod4Point
     */
    public function setAlertCDirection(\StructType\AlertCDirection $alertCDirection = null)
    {
        $this->alertCDirection = $alertCDirection;
        return $this;
    }
    /**
     * Get alertCMethod4PrimaryPointLocation value
     * @return \StructType\AlertCMethod4PrimaryPointLocation|null
     */
    public function getAlertCMethod4PrimaryPointLocation()
    {
        return $this->alertCMethod4PrimaryPointLocation;
    }
    /**
     * Set alertCMethod4PrimaryPointLocation value
     * @param \StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation
     * @return \StructType\AlertCMethod4Point
     */
    public function setAlertCMethod4PrimaryPointLocation(\StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation = null)
    {
        $this->alertCMethod4PrimaryPointLocation = $alertCMethod4PrimaryPointLocation;
        return $this;
    }
    /**
     * Get alertCMethod4PointExtension value
     * @return \StructType\ExtensionType|null
     */
    public function getAlertCMethod4PointExtension()
    {
        return $this->alertCMethod4PointExtension;
    }
    /**
     * Set alertCMethod4PointExtension value
     * @param \StructType\ExtensionType $alertCMethod4PointExtension
     * @return \StructType\AlertCMethod4Point
     */
    public function setAlertCMethod4PointExtension(\StructType\ExtensionType $alertCMethod4PointExtension = null)
    {
        $this->alertCMethod4PointExtension = $alertCMethod4PointExtension;
        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\AlertCMethod4Point
     */
    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__;
    }
}
