<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for BomSearchBasic StructType
 * @subpackage Structs
 */
class BomSearchBasic extends SearchRecordBasic
{
    /**
     * The availableForAllAssemblies
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $availableForAllAssemblies;
    /**
     * The availableForAllLocations
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $availableForAllLocations;
    /**
     * The createdDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $createdDate;
    /**
     * The externalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $externalId;
    /**
     * The externalIdString
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $externalIdString;
    /**
     * The includeChildren
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $includeChildren;
    /**
     * The internalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $internalId;
    /**
     * The internalIdNumber
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $internalIdNumber;
    /**
     * The isInactive
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $isInactive;
    /**
     * The legacyBomForAssembly
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $legacyBomForAssembly;
    /**
     * The memo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $memo;
    /**
     * The name
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $name;
    /**
     * The restrictToAssemblies
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $restrictToAssemblies;
    /**
     * The restrictToLocations
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $restrictToLocations;
    /**
     * The subsidiary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $subsidiary;
    /**
     * The useComponentYield
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $useComponentYield;
    /**
     * The usedOnAssembly
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $usedOnAssembly;
    /**
     * Constructor method for BomSearchBasic
     * @uses BomSearchBasic::setAvailableForAllAssemblies()
     * @uses BomSearchBasic::setAvailableForAllLocations()
     * @uses BomSearchBasic::setCreatedDate()
     * @uses BomSearchBasic::setExternalId()
     * @uses BomSearchBasic::setExternalIdString()
     * @uses BomSearchBasic::setIncludeChildren()
     * @uses BomSearchBasic::setInternalId()
     * @uses BomSearchBasic::setInternalIdNumber()
     * @uses BomSearchBasic::setIsInactive()
     * @uses BomSearchBasic::setLegacyBomForAssembly()
     * @uses BomSearchBasic::setMemo()
     * @uses BomSearchBasic::setName()
     * @uses BomSearchBasic::setRestrictToAssemblies()
     * @uses BomSearchBasic::setRestrictToLocations()
     * @uses BomSearchBasic::setSubsidiary()
     * @uses BomSearchBasic::setUseComponentYield()
     * @uses BomSearchBasic::setUsedOnAssembly()
     * @param \StructType\SearchBooleanField $availableForAllAssemblies
     * @param \StructType\SearchBooleanField $availableForAllLocations
     * @param \StructType\SearchDateField $createdDate
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchBooleanField $includeChildren
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchBooleanField $isInactive
     * @param \StructType\SearchMultiSelectField $legacyBomForAssembly
     * @param \StructType\SearchStringField $memo
     * @param \StructType\SearchStringField $name
     * @param \StructType\SearchMultiSelectField $restrictToAssemblies
     * @param \StructType\SearchMultiSelectField $restrictToLocations
     * @param \StructType\SearchMultiSelectField $subsidiary
     * @param \StructType\SearchBooleanField $useComponentYield
     * @param \StructType\SearchBooleanField $usedOnAssembly
     */
    public function __construct(\StructType\SearchBooleanField $availableForAllAssemblies = null, \StructType\SearchBooleanField $availableForAllLocations = null, \StructType\SearchDateField $createdDate = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchBooleanField $includeChildren = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchBooleanField $isInactive = null, \StructType\SearchMultiSelectField $legacyBomForAssembly = null, \StructType\SearchStringField $memo = null, \StructType\SearchStringField $name = null, \StructType\SearchMultiSelectField $restrictToAssemblies = null, \StructType\SearchMultiSelectField $restrictToLocations = null, \StructType\SearchMultiSelectField $subsidiary = null, \StructType\SearchBooleanField $useComponentYield = null, \StructType\SearchBooleanField $usedOnAssembly = null)
    {
        $this
            ->setAvailableForAllAssemblies($availableForAllAssemblies)
            ->setAvailableForAllLocations($availableForAllLocations)
            ->setCreatedDate($createdDate)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setIncludeChildren($includeChildren)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setIsInactive($isInactive)
            ->setLegacyBomForAssembly($legacyBomForAssembly)
            ->setMemo($memo)
            ->setName($name)
            ->setRestrictToAssemblies($restrictToAssemblies)
            ->setRestrictToLocations($restrictToLocations)
            ->setSubsidiary($subsidiary)
            ->setUseComponentYield($useComponentYield)
            ->setUsedOnAssembly($usedOnAssembly);
    }
    /**
     * Get availableForAllAssemblies value
     * @return \StructType\SearchBooleanField|null
     */
    public function getAvailableForAllAssemblies()
    {
        return $this->availableForAllAssemblies;
    }
    /**
     * Set availableForAllAssemblies value
     * @param \StructType\SearchBooleanField $availableForAllAssemblies
     * @return \StructType\BomSearchBasic
     */
    public function setAvailableForAllAssemblies(\StructType\SearchBooleanField $availableForAllAssemblies = null)
    {
        $this->availableForAllAssemblies = $availableForAllAssemblies;
        return $this;
    }
    /**
     * Get availableForAllLocations value
     * @return \StructType\SearchBooleanField|null
     */
    public function getAvailableForAllLocations()
    {
        return $this->availableForAllLocations;
    }
    /**
     * Set availableForAllLocations value
     * @param \StructType\SearchBooleanField $availableForAllLocations
     * @return \StructType\BomSearchBasic
     */
    public function setAvailableForAllLocations(\StructType\SearchBooleanField $availableForAllLocations = null)
    {
        $this->availableForAllLocations = $availableForAllLocations;
        return $this;
    }
    /**
     * Get createdDate value
     * @return \StructType\SearchDateField|null
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }
    /**
     * Set createdDate value
     * @param \StructType\SearchDateField $createdDate
     * @return \StructType\BomSearchBasic
     */
    public function setCreatedDate(\StructType\SearchDateField $createdDate = null)
    {
        $this->createdDate = $createdDate;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\BomSearchBasic
     */
    public function setExternalId(\StructType\SearchMultiSelectField $externalId = null)
    {
        $this->externalId = $externalId;
        return $this;
    }
    /**
     * Get externalIdString value
     * @return \StructType\SearchStringField|null
     */
    public function getExternalIdString()
    {
        return $this->externalIdString;
    }
    /**
     * Set externalIdString value
     * @param \StructType\SearchStringField $externalIdString
     * @return \StructType\BomSearchBasic
     */
    public function setExternalIdString(\StructType\SearchStringField $externalIdString = null)
    {
        $this->externalIdString = $externalIdString;
        return $this;
    }
    /**
     * Get includeChildren value
     * @return \StructType\SearchBooleanField|null
     */
    public function getIncludeChildren()
    {
        return $this->includeChildren;
    }
    /**
     * Set includeChildren value
     * @param \StructType\SearchBooleanField $includeChildren
     * @return \StructType\BomSearchBasic
     */
    public function setIncludeChildren(\StructType\SearchBooleanField $includeChildren = null)
    {
        $this->includeChildren = $includeChildren;
        return $this;
    }
    /**
     * Get internalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param \StructType\SearchMultiSelectField $internalId
     * @return \StructType\BomSearchBasic
     */
    public function setInternalId(\StructType\SearchMultiSelectField $internalId = null)
    {
        $this->internalId = $internalId;
        return $this;
    }
    /**
     * Get internalIdNumber value
     * @return \StructType\SearchLongField|null
     */
    public function getInternalIdNumber()
    {
        return $this->internalIdNumber;
    }
    /**
     * Set internalIdNumber value
     * @param \StructType\SearchLongField $internalIdNumber
     * @return \StructType\BomSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get isInactive value
     * @return \StructType\SearchBooleanField|null
     */
    public function getIsInactive()
    {
        return $this->isInactive;
    }
    /**
     * Set isInactive value
     * @param \StructType\SearchBooleanField $isInactive
     * @return \StructType\BomSearchBasic
     */
    public function setIsInactive(\StructType\SearchBooleanField $isInactive = null)
    {
        $this->isInactive = $isInactive;
        return $this;
    }
    /**
     * Get legacyBomForAssembly value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getLegacyBomForAssembly()
    {
        return $this->legacyBomForAssembly;
    }
    /**
     * Set legacyBomForAssembly value
     * @param \StructType\SearchMultiSelectField $legacyBomForAssembly
     * @return \StructType\BomSearchBasic
     */
    public function setLegacyBomForAssembly(\StructType\SearchMultiSelectField $legacyBomForAssembly = null)
    {
        $this->legacyBomForAssembly = $legacyBomForAssembly;
        return $this;
    }
    /**
     * Get memo value
     * @return \StructType\SearchStringField|null
     */
    public function getMemo()
    {
        return $this->memo;
    }
    /**
     * Set memo value
     * @param \StructType\SearchStringField $memo
     * @return \StructType\BomSearchBasic
     */
    public function setMemo(\StructType\SearchStringField $memo = null)
    {
        $this->memo = $memo;
        return $this;
    }
    /**
     * Get name value
     * @return \StructType\SearchStringField|null
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param \StructType\SearchStringField $name
     * @return \StructType\BomSearchBasic
     */
    public function setName(\StructType\SearchStringField $name = null)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get restrictToAssemblies value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getRestrictToAssemblies()
    {
        return $this->restrictToAssemblies;
    }
    /**
     * Set restrictToAssemblies value
     * @param \StructType\SearchMultiSelectField $restrictToAssemblies
     * @return \StructType\BomSearchBasic
     */
    public function setRestrictToAssemblies(\StructType\SearchMultiSelectField $restrictToAssemblies = null)
    {
        $this->restrictToAssemblies = $restrictToAssemblies;
        return $this;
    }
    /**
     * Get restrictToLocations value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getRestrictToLocations()
    {
        return $this->restrictToLocations;
    }
    /**
     * Set restrictToLocations value
     * @param \StructType\SearchMultiSelectField $restrictToLocations
     * @return \StructType\BomSearchBasic
     */
    public function setRestrictToLocations(\StructType\SearchMultiSelectField $restrictToLocations = null)
    {
        $this->restrictToLocations = $restrictToLocations;
        return $this;
    }
    /**
     * Get subsidiary value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getSubsidiary()
    {
        return $this->subsidiary;
    }
    /**
     * Set subsidiary value
     * @param \StructType\SearchMultiSelectField $subsidiary
     * @return \StructType\BomSearchBasic
     */
    public function setSubsidiary(\StructType\SearchMultiSelectField $subsidiary = null)
    {
        $this->subsidiary = $subsidiary;
        return $this;
    }
    /**
     * Get useComponentYield value
     * @return \StructType\SearchBooleanField|null
     */
    public function getUseComponentYield()
    {
        return $this->useComponentYield;
    }
    /**
     * Set useComponentYield value
     * @param \StructType\SearchBooleanField $useComponentYield
     * @return \StructType\BomSearchBasic
     */
    public function setUseComponentYield(\StructType\SearchBooleanField $useComponentYield = null)
    {
        $this->useComponentYield = $useComponentYield;
        return $this;
    }
    /**
     * Get usedOnAssembly value
     * @return \StructType\SearchBooleanField|null
     */
    public function getUsedOnAssembly()
    {
        return $this->usedOnAssembly;
    }
    /**
     * Set usedOnAssembly value
     * @param \StructType\SearchBooleanField $usedOnAssembly
     * @return \StructType\BomSearchBasic
     */
    public function setUsedOnAssembly(\StructType\SearchBooleanField $usedOnAssembly = null)
    {
        $this->usedOnAssembly = $usedOnAssembly;
        return $this;
    }
}
