Searchs a parameter by value and returns it.

def getParameterByValue(self, value):
        """Searchs a parameter by value and returns it."""
        result = None
        for parameter in self.getParameters():
            valueParam = parameter.getValue()
            if valueParam == value:
                result = parameter
                break
        return result