@internal<EOL><INDENT>def _registerParameter(self, pName, parameter) -> None:<DEDENT>
nameAvailabilityCheck(self, pName, parameter)<EOL>try:<EOL><INDENT>hasName = parameter._name is not None<EOL><DEDENT>except AttributeError:<EOL><INDENT>hasName = False<EOL><DEDENT>if not hasName:<EOL><INDENT>parameter._name = pName<EOL><DEDENT>parameter._registerScope(pName, self)<EOL>if parameter.hasGenericName:<EOL><INDENT>parameter.name = pName<EOL><DEDENT>if parameter._parent is None:<EOL><INDENT>parameter._parent = self<EOL><DEDENT>self._params.append(parameter)<EOL>
Register Param object on interface level object