code: def setBehaviorFromVersionLine(self, versionLine):
          
          v = getBehavior(self.name, versionLine.value)
          if v:
              self.setBehavior(v)
docs: Set behavior if one matches name, versionLine.value.