<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SituationRefStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for reference to a SITUATION. | Reference to a SITUATION. Elements of SITUATION identfier are expressed as atomic elements.
 * @subpackage Structs
 */
class SituationRefStructure extends AbstractStructBase
{
    /**
     * The SituationSimpleRef
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - ref: SituationSimpleRef
     * @var \StructType\SituationSimpleRefStructure
     */
    public $SituationSimpleRef;
    /**
     * The SituationFullRef
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - ref: SituationFullRef
     * @var \StructType\SituationFullRefStructure
     */
    public $SituationFullRef;
    /**
     * Constructor method for SituationRefStructure
     * @uses SituationRefStructure::setSituationSimpleRef()
     * @uses SituationRefStructure::setSituationFullRef()
     * @param \StructType\SituationSimpleRefStructure $situationSimpleRef
     * @param \StructType\SituationFullRefStructure $situationFullRef
     */
    public function __construct(\StructType\SituationSimpleRefStructure $situationSimpleRef = null, \StructType\SituationFullRefStructure $situationFullRef = null)
    {
        $this
            ->setSituationSimpleRef($situationSimpleRef)
            ->setSituationFullRef($situationFullRef);
    }
    /**
     * Get SituationSimpleRef value
     * @return \StructType\SituationSimpleRefStructure|null
     */
    public function getSituationSimpleRef()
    {
        return $this->SituationSimpleRef;
    }
    /**
     * Set SituationSimpleRef value
     * @param \StructType\SituationSimpleRefStructure $situationSimpleRef
     * @return \StructType\SituationRefStructure
     */
    public function setSituationSimpleRef(\StructType\SituationSimpleRefStructure $situationSimpleRef = null)
    {
        $this->SituationSimpleRef = $situationSimpleRef;
        return $this;
    }
    /**
     * Get SituationFullRef value
     * @return \StructType\SituationFullRefStructure|null
     */
    public function getSituationFullRef()
    {
        return $this->SituationFullRef;
    }
    /**
     * Set SituationFullRef value
     * @param \StructType\SituationFullRefStructure $situationFullRef
     * @return \StructType\SituationRefStructure
     */
    public function setSituationFullRef(\StructType\SituationFullRefStructure $situationFullRef = null)
    {
        $this->SituationFullRef = $situationFullRef;
        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\SituationRefStructure
     */
    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__;
    }
}
