1 package junitx.ddtunit.data; 2 3 import java.util.Iterator; 4 5 public class SearchCriteria { 6 7 private String testmethodName; 8 private String assertDataId; 9 SearchParameters searchParameters; 10 11 DefaultComparator defaultComparator = new DefaultComparator(); 12 13 public SearchCriteria(final String testmethodName, final SearchParameters parameters, final String assertDataId) { 14 this.testmethodName = testmethodName; 15 this.searchParameters = parameters; 16 this.assertDataId = assertDataId; 17 } 18 19 public String getMethodName() { 20 return testmethodName; 21 } 22 23 public String getAssertDataId() { 24 return assertDataId; 25 } 26 27 public Iterator<SearchParameter> getIterator() { 28 return searchParameters.getIterator(); 29 } 30 }