public function setStocklevel( $stocklevel )
	{
		if ( $stocklevel === $this->getStocklevel() ) { return; }

		if ( $stocklevel !== null ) {
			$stocklevel = (int) $stocklevel;
		}

		$this->_values['stocklevel'] = $stocklevel;
		$this->setModified();
	}
public function setStocklevel( $stocklevel )
	{
		if ( $stocklevel === $this->getStocklevel() ) { return; }

		if ( $stocklevel !== null ) {
			$stocklevel = (int) $stocklevel;
		}

		$this->_values['stocklevel'] = $stocklevel;
		$this->setModified();
	}
public function setStocklevel ( $ stocklevel ) { if ( $ stocklevel === $ this -> getStocklevel ( ) ) { return ; } if ( $ stocklevel !== null ) { $ stocklevel = ( int ) $ stocklevel ; } $ this -> _values [ 'stocklevel' ] = $ stocklevel ; $ this -> setModified ( ) ; }
Sets the stock level.

@param integer|null $stocklevel New stock level
Sets the stock level .