Rename client param method
This commit is contained in:
parent
8c455d41b6
commit
f47597d2ec
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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>();
|
||||
|
|
Loading…
Reference in New Issue