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

java.lang.Object
  extended by net.leadware.persistence.tools.api.utils.restrictions.impl.AbstractPredicate
All Implemented Interfaces:
Serializable, Predicate
Direct Known Subclasses:
Eq, Ge, Gt, IsFalse, IsNotNull, IsNull, IsTrue, Le, Like, LikeIgnoreCase, Lt, NotEq, NotLike

public abstract class AbstractPredicate
extends Object
implements Predicate

Classe représentant un predicat abstrait

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

Field Summary
private static long serialVersionUID
          ID Genere par Eclipse
 
Constructor Summary
AbstractPredicate()
           
 
Method Summary
protected
<Y extends Comparable<Y>>
javax.persistence.criteria.Path<Y>
buildPropertyPath(javax.persistence.criteria.Root<?> root, String stringPath)
          Méthode de construction d'un chemin de propriété à partir de la racine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.leadware.persistence.tools.api.utils.restrictions.Predicate
generateJPAPredicate
 

Field Detail

serialVersionUID

private static final long serialVersionUID
ID Genere par Eclipse

See Also:
Constant Field Values
Constructor Detail

AbstractPredicate

public AbstractPredicate()
Method Detail

buildPropertyPath

protected <Y extends Comparable<Y>> javax.persistence.criteria.Path<Y> buildPropertyPath(javax.persistence.criteria.Root<?> root,
                                                                                         String stringPath)
Méthode de construction d'un chemin de propriété à partir de la racine

Type Parameters:
Y - Paramètre de type du chemin final
Parameters:
root - Racine de la requete
stringPath - Chemin sous forme de chaine
Returns:
Chemin recherché sous forme Path


Copyright © 2015 Leadware. All Rights Reserved.