src/main/java/org/criteria4jpa/criterion/Junction.java
public Object[] getParameterValues() {
    ArrayList<Object> values = new ArrayList<Object>();
    
    // process all criteria from criterionList
    for(Criterion criterion : criterionList) {
      
      // add all values from this criterion to result list
      for( Object value : criterion.getParameterValues()) {
        values.add(value);
      }
      
    }
    return values.toArray();
  }
public Object[] getParameterValues() {
    ArrayList<Object> values = new ArrayList<Object>();
    
    // process all criteria from criterionList
    for(Criterion criterion : criterionList) {
      
      // add all values from this criterion to result list
      for( Object value : criterion.getParameterValues()) {
        values.add(value);
      }
      
    }
    return values.toArray();
  }
/*
@see org.criteria4jpa.criterion.Criterion#getParameterValues()