Errai 3.0.1-SNAPSHOT

org.jboss.errai.jpa.sync.client.local
Annotation Type SyncParam


@Documented
@Retention(value=RUNTIME)
public @interface SyncParam

Represents a parameter of a named query used in a data sync operation (see Sync).

Author:
Jonathan Fuerth , Christian Sadilek

Required Element Summary
 String name
          The name of the query parameter.
 String val
          The value to assign to the query parameter.
 

Element Detail

name

public abstract String name
The name of the query parameter.


val

public abstract String val
The value to assign to the query parameter. This is either a literal value or a field reference of the enclosing class or super class.

Example literal value: @SyncParam(name = "literal", val = "literalValue")
Example field reference: @SyncParam(name = "id", val = "{id}")


Errai 3.0.1-SNAPSHOT

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