public function getIRPByOutcome(OutcomeDeclaration $outcome){
        foreach($this->components as $irp){
            if($irp->getOutcome() == $outcome){
                $returnValue = $irp;
                break;
            }
        }

        return $returnValue;
    }