public function setNumber($parameterIndex, $number)
    {
        if (!is_int($number)) {
            throw new CmisInvalidArgumentException('Number must be of type integer!');
        }

        $this->setParameter($parameterIndex, $number);
    }
public function setNumber($parameterIndex, $number)
    {
        if (!is_int($number)) {
            throw new CmisInvalidArgumentException('Number must be of type integer!');
        }

        $this->setParameter($parameterIndex, $number);
    }
public function setNumber ( $ parameterIndex , $ number ) { if ( ! is_int ( $ number ) ) { throw new CmisInvalidArgumentException ( 'Number must be of type integer!' ) ; } $ this -> setParameter ( $ parameterIndex , $ number ) ; }
Sets the designated parameter to the given number.

@param integer $parameterIndex the parameter index (one-based)
@param integer $number the value to be set as number
@throws CmisInvalidArgumentException If number not of type integer
Sets the designated parameter to the given number .