'Get a method defined in this portType by name.
@param name: A method name.
@type name: str
@return: The requested method object.
@rtype: I{Method}'

def method(self, name):

    return self.methods.get(name)
