<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GroupOfLocations StructType
 * @subpackage Structs
 */
abstract class GroupOfLocations extends AbstractStructBase
{
    /**
     * The groupOfLocationsExtension
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ExtensionType
     */
    public $groupOfLocationsExtension;
    /**
     * Constructor method for GroupOfLocations
     * @uses GroupOfLocations::setGroupOfLocationsExtension()
     * @param \StructType\ExtensionType $groupOfLocationsExtension
     */
    public function __construct(\StructType\ExtensionType $groupOfLocationsExtension = null)
    {
        $this
            ->setGroupOfLocationsExtension($groupOfLocationsExtension);
    }
    /**
     * Get groupOfLocationsExtension value
     * @return \StructType\ExtensionType|null
     */
    public function getGroupOfLocationsExtension()
    {
        return $this->groupOfLocationsExtension;
    }
    /**
     * Set groupOfLocationsExtension value
     * @param \StructType\ExtensionType $groupOfLocationsExtension
     * @return \StructType\GroupOfLocations
     */
    public function setGroupOfLocationsExtension(\StructType\ExtensionType $groupOfLocationsExtension = null)
    {
        $this->groupOfLocationsExtension = $groupOfLocationsExtension;
        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\GroupOfLocations
     */
    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__;
    }
}
