public function setResponse(ResponseDeclaration $response){
        $relatedItem = $this->getRelatedItem();
        if(!is_null($relatedItem)){
            $relatedItem->addResponse($response);
        }
        return $this->setAttribute('responseIdentifier', $response);
    }