Rename client param method

This commit is contained in:
James Agnew 2016-10-12 14:51:47 -04:00
parent 8c455d41b6
commit f47597d2ec
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class ReferenceClientParam extends BaseClientParam implements IParam {
* simply add a subsequent {@link IQuery#where(ICriterion) where} criteria
* with the same parameter.
*/
public ICriterion<ReferenceClientParam> hasAnyOf(Collection<String> theIds) {
public ICriterion<ReferenceClientParam> hasAnyOfIds(Collection<String> theIds) {
return new StringCriterion<ReferenceClientParam>(getParamName(), theIds);
}

View File

@ -1592,7 +1592,7 @@ public class ResourceProviderDstu2Test extends BaseResourceProviderDstu2Test {
//@formatter:off
Bundle actual = ourClient.search()
.forResource(Patient.class)
.where(Patient.ORGANIZATION.hasAnyOf(Arrays.asList(o1id.getIdPart(), o2id.getIdPart())))
.where(Patient.ORGANIZATION.hasAnyOfIds(Arrays.asList(o1id.getIdPart(), o2id.getIdPart())))
.encodedJson().prettyPrint().execute();
//@formatter:on
Set<String> expectedIds = new HashSet<String>();