public void addCondition(final Condition condition){
  conditions.add(condition);
  condition.setId(conditionIdCounter++);
}

public void addCondition ( final Condition condition ) { conditions . add ( condition ) ; condition . setId ( conditionIdCounter ++ ) ; }
will add the condition to the list .
