public function setId($parameterIndex, ObjectIdInterface $id)
    {
        $this->setParameter($parameterIndex, $this->escape($id->getId()));
    }
public function setId($parameterIndex, ObjectIdInterface $id)
    {
        $this->setParameter($parameterIndex, $this->escape($id->getId()));
    }
public function setId ( $ parameterIndex , ObjectIdInterface $ id ) { $ this -> setParameter ( $ parameterIndex , $ this -> escape ( $ id -> getId ( ) ) ) ; }
Sets the designated parameter to the given object ID.

@param integer $parameterIndex the parameter index (one-based)
@param ObjectIdInterface $id the object ID
Sets the designated parameter to the given object ID .