def soft_hard(self, value):
        """sets the Soft or Hard range setting (with validation of input)"""
        if not isinstance(value, RangeCheckType):
            raise AttributeError("%s soft_hard invalid in RangeCheck." % (value,))
        self._soft_hard = value