def addCondition(self,cond):
        """
        """
        if cond in self._conditions:
            return
        id = cond.getId()
        if id == -1:
            id = int(self._condGenerator.newCount())
        cond.includeInTpl(self, id)
        self._conditions.append(cond)