net.leadware.persistence.tools.api.utils.restrictions.impl
Class Like

java.lang.Object
  extended by net.leadware.persistence.tools.api.utils.restrictions.impl.AbstractPredicate
      extended by net.leadware.persistence.tools.api.utils.restrictions.impl.Like
All Implemented Interfaces:
Serializable, Predicate

public class Like
extends AbstractPredicate

Classe représentant un predicat de like

Since:
26 avr. 2013 : 08:30:19
Author:
Jean-Jacques ETUNE NGI
See Also:
Serialized Form

Field Summary
protected  String property
          Nom de la propriete
private static long serialVersionUID
          ID Genere Par Eclipse
protected  String value
          Valeur de la Propriete
 
Constructor Summary
Like(String property, String value)
          Constructeur avec initialisation des parametres
 
Method Summary
 javax.persistence.criteria.Predicate generateJPAPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.persistence.criteria.Root<?> root)
          Methode de construction d'un Predicat JPA 2
 
Methods inherited from class net.leadware.persistence.tools.api.utils.restrictions.impl.AbstractPredicate
buildPropertyPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
ID Genere Par Eclipse

See Also:
Constant Field Values

property

protected String property
Nom de la propriete


value

protected String value
Valeur de la Propriete

Constructor Detail

Like

public Like(String property,
            String value)
Constructeur avec initialisation des parametres

Parameters:
property - Nom de la propriete
value - Valeur de la propriete
Method Detail

generateJPAPredicate

public javax.persistence.criteria.Predicate generateJPAPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder,
                                                                 javax.persistence.criteria.Root<?> root)
Description copied from interface: Predicate
Methode de construction d'un Predicat JPA 2

Parameters:
criteriaBuilder - Constructeur de critere
root - Racine de la requete par critere
Returns:
Predicat JPA 2


Copyright © 2014 Leadware. All Rights Reserved.