<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for DetachBasicReference StructType
 * @subpackage Structs
 */
class DetachBasicReference extends DetachReference
{
    /**
     * The detachedRecord
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \StructType\BaseRef
     */
    public $detachedRecord;
    /**
     * Constructor method for DetachBasicReference
     * @uses DetachBasicReference::setDetachedRecord()
     * @param \StructType\BaseRef $detachedRecord
     */
    public function __construct(\StructType\BaseRef $detachedRecord = null)
    {
        $this
            ->setDetachedRecord($detachedRecord);
    }
    /**
     * Get detachedRecord value
     * @return \StructType\BaseRef
     */
    public function getDetachedRecord()
    {
        return $this->detachedRecord;
    }
    /**
     * Set detachedRecord value
     * @param \StructType\BaseRef $detachedRecord
     * @return \StructType\DetachBasicReference
     */
    public function setDetachedRecord(\StructType\BaseRef $detachedRecord = null)
    {
        $this->detachedRecord = $detachedRecord;
        return $this;
    }
}
