fuzzydb icon indicating copy to clipboard operation
fuzzydb copied to clipboard

Implement QueryFactory and make ctors package scope

Open nealeu opened this issue 14 years ago • 0 comments

Current API needs tidying up to hide the implementations. The following should work instead:

AttributeMatchQuery<Item> query = QueryFactory.findMatchesOfType(Item.class).forSubject(subject).withMatchStyle("potentialDates").withMaxResults(10).build();

and

AttributeMatchQuery<Item> query = QueryFactory.findMatchesOfType(Item.class).forSubjectRef(refToExistingItem).withMatchStyle("potentialDates").withMaxResults(10).build();

nealeu avatar Jul 19 '11 08:07 nealeu