<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Candidate_Military_Service_Information_DataType StructType
 * Meta information extracted from the WSDL
 * - documentation: Wrapper element for each Military Service entry.
 * @subpackage Structs
 */
class Candidate_Military_Service_Information_DataType extends AbstractStructBase
{
    /**
     * The Military_Service_Reference
     * Meta information extracted from the WSDL
     * - documentation: Reference to an existing Military Service entry for edits and deletes.
     * - minOccurs: 0
     * @var \StructType\Military_Service_ReferenceObjectType
     */
    public $Military_Service_Reference;
    /**
     * The Military_Service_Data
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Military_Service_Sub_DataType
     */
    public $Military_Service_Data;
    /**
     * Constructor method for Candidate_Military_Service_Information_DataType
     * @uses Candidate_Military_Service_Information_DataType::setMilitary_Service_Reference()
     * @uses Candidate_Military_Service_Information_DataType::setMilitary_Service_Data()
     * @param \StructType\Military_Service_ReferenceObjectType $military_Service_Reference
     * @param \StructType\Military_Service_Sub_DataType $military_Service_Data
     */
    public function __construct(\StructType\Military_Service_ReferenceObjectType $military_Service_Reference = null, \StructType\Military_Service_Sub_DataType $military_Service_Data = null)
    {
        $this
            ->setMilitary_Service_Reference($military_Service_Reference)
            ->setMilitary_Service_Data($military_Service_Data);
    }
    /**
     * Get Military_Service_Reference value
     * @return \StructType\Military_Service_ReferenceObjectType|null
     */
    public function getMilitary_Service_Reference()
    {
        return $this->Military_Service_Reference;
    }
    /**
     * Set Military_Service_Reference value
     * @param \StructType\Military_Service_ReferenceObjectType $military_Service_Reference
     * @return \StructType\Candidate_Military_Service_Information_DataType
     */
    public function setMilitary_Service_Reference(\StructType\Military_Service_ReferenceObjectType $military_Service_Reference = null)
    {
        $this->Military_Service_Reference = $military_Service_Reference;
        return $this;
    }
    /**
     * Get Military_Service_Data value
     * @return \StructType\Military_Service_Sub_DataType|null
     */
    public function getMilitary_Service_Data()
    {
        return $this->Military_Service_Data;
    }
    /**
     * Set Military_Service_Data value
     * @param \StructType\Military_Service_Sub_DataType $military_Service_Data
     * @return \StructType\Candidate_Military_Service_Information_DataType
     */
    public function setMilitary_Service_Data(\StructType\Military_Service_Sub_DataType $military_Service_Data = null)
    {
        $this->Military_Service_Data = $military_Service_Data;
        return $this;
    }
}
