code: def __set_interval(self, value):
          '''
          Sets the treatment interval
          @param value:Interval
          '''
          if not isinstance(self, Interval):
              raise ValueError("'value' must be of type Interval")
  
          self.__interval = valuf __set_interval(self, value):
          '''
          Sets the treatment interval
          @param value:Interval
          '''
          if not isinstance(self, Interval):
              raise ValueError("'value' must be of type Interval")
  
          self.__interval = value
docs: Sets the treatment interval
          @param value:Interval