Errai 3.0.1-SNAPSHOT

org.jboss.errai.jpa.client.local
Interface EntityJsonMatcher

All Known Implementing Classes:
ErraiTypedQuery

public interface EntityJsonMatcher

First try at an interface that describes a query's predicate with regards to a single object type.

Future consideration: This interface must be extended or completely reworked to accommodate indexing (if indexing turns out to be important in the client data store).

Author:
Jonathan Fuerth

Method Summary
 boolean matches(com.google.gwt.json.client.JSONObject candidate)
          Tests if the given JSON object as accepted by this matcher.
 

Method Detail

matches

boolean matches(com.google.gwt.json.client.JSONObject candidate)
Tests if the given JSON object as accepted by this matcher.

Parameters:
candidate - The JSON representation of a Java object to be tested. It is assumed to be of the same Java type that this matcher cares about.
Returns:
true if this matcher accepts the candidate; false otherwise.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.