class QueryMatcher implements Serializable {

    public boolean matches(String... queryTerms) {
        for (String queryTerm : queryTerms) {
            for (String entityTerm : entityTerms) {
                if (entityTerm.contains(queryTerm.toUpperCase())) {
                    return true;
                }
            }
        }

        return false;
    }

    public  QueryMatcher(final String... theEntityTerms);

}