org.jboss.errai.jpa.sync.client.shared
Class SyncableDataSet<E>
java.lang.Object
org.jboss.errai.jpa.sync.client.shared.SyncableDataSet<E>
@Portable
public class SyncableDataSet<E>
- extends Object
from
public static <E> SyncableDataSet<E> from(String queryName,
Class<E> resultType,
Map<String,Object> params)
createQuery
public javax.persistence.TypedQuery<E> createQuery(javax.persistence.EntityManager em)
getQueryName
public String getQueryName()
- Returns the name of the JPA named query this syncable data set is tied to.
- Returns:
- the query name. Never null.
getParameters
public Map<String,Object> getParameters()
- Returns a read-only view of this syncable data set's parameters. These
should correspond with the named parameters of the JPA named query this
syncable data set is tied to.
- Returns:
- a read-only map of the parameters in use with the query. Never null.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.