public class RestrictionsContainer
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Predicate> |
restrictions
Liste des restrictions
|
private static long |
serialVersionUID
ID Genere par eclipse
|
| Constructor and Description |
|---|
RestrictionsContainer() |
| Modifier and Type | Method and Description |
|---|---|
RestrictionsContainer |
add(Predicate restriction)
Methode d'ajout d'une restriction
|
<Y extends java.lang.Comparable<? super Y>> |
addEq(java.lang.String property,
Y value)
Methode d'ajout de la restriction Eq
|
<Y extends java.lang.Comparable<? super Y>> |
addGe(java.lang.String property,
Y value)
Methode d'ajout de la restriction GE
|
<Y extends java.lang.Comparable<? super Y>> |
addGt(java.lang.String property,
Y value)
Methode d'ajout de la restriction GT
|
RestrictionsContainer |
addIsFalse(java.lang.String property)
Methode d'ajout de la restriction IsFalse
|
RestrictionsContainer |
addIsNotNull(java.lang.String property)
Methode d'ajout de la restriction IsNotNull
|
RestrictionsContainer |
addIsNull(java.lang.String property)
Methode d'ajout de la restriction IsNull
|
RestrictionsContainer |
addIsTrue(java.lang.String property)
Methode d'ajout de la restriction IsTrue
|
<Y extends java.lang.Comparable<? super Y>> |
addLe(java.lang.String property,
Y value)
Methode d'ajout de la restriction Le
|
RestrictionsContainer |
addLike(java.lang.String property,
java.lang.String value)
Methode d'ajout de la restriction Like
|
<Y extends java.lang.Comparable<? super Y>> |
addLt(java.lang.String property,
Y value)
Methode d'ajout de la restriction Lt
|
<Y extends java.lang.Comparable<? super Y>> |
addNotEq(java.lang.String property,
Y value)
Methode d'ajout de la restriction NotEq
|
RestrictionsContainer |
addNotLike(java.lang.String property,
java.lang.String value)
Methode d'ajout de la restriction NotLike
|
void |
clear()
Methode de vidage du conteneur
|
java.util.List<Predicate> |
getRestrictions()
Methode d'obtention de la Liste des restrictions
|
static RestrictionsContainer |
newInstance()
Obtention de l'instance
|
int |
size()
Methode d'obtention de la taille du conteneur
|
private static final long serialVersionUID
private java.util.List<Predicate> restrictions
public static RestrictionsContainer newInstance()
public RestrictionsContainer add(Predicate restriction)
restriction - Restriction a ajouterpublic <Y extends java.lang.Comparable<? super Y>> RestrictionsContainer addEq(java.lang.String property, Y value)
Y - Type de valeurproperty - Nom de la Proprietevalue - Valeur de la proprietepublic <Y extends java.lang.Comparable<? super Y>> RestrictionsContainer addNotEq(java.lang.String property, Y value)
Y - Type de valeurproperty - Nom de la Proprietevalue - Valeur de la proprietepublic <Y extends java.lang.Comparable<? super Y>> RestrictionsContainer addGe(java.lang.String property, Y value)
Y - Type de valeurproperty - Nom de la Proprietevalue - Valeur de la proprietepublic <Y extends java.lang.Comparable<? super Y>> RestrictionsContainer addGt(java.lang.String property, Y value)
Y - Type de valeurproperty - Nom de la Proprietevalue - Valeur de la proprietepublic <Y extends java.lang.Comparable<? super Y>> RestrictionsContainer addLt(java.lang.String property, Y value)
Y - Type de valeurproperty - Nom de la Proprietevalue - Valeur de la proprietepublic RestrictionsContainer addLike(java.lang.String property, java.lang.String value)
property - Nom de la Proprietevalue - Valeur de la proprietepublic RestrictionsContainer addNotLike(java.lang.String property, java.lang.String value)
property - Nom de la Proprietevalue - Valeur de la proprietepublic <Y extends java.lang.Comparable<? super Y>> RestrictionsContainer addLe(java.lang.String property, Y value)
Y - Type de valeurproperty - Nom de la Proprietevalue - Valeur de la proprietepublic RestrictionsContainer addIsFalse(java.lang.String property)
property - Nom de la Proprietepublic RestrictionsContainer addIsTrue(java.lang.String property)
property - Nom de la Proprietepublic RestrictionsContainer addIsNotNull(java.lang.String property)
property - Nom de la Proprietepublic RestrictionsContainer addIsNull(java.lang.String property)
property - Nom de la Proprietepublic java.util.List<Predicate> getRestrictions()
public int size()
public void clear()
Copyright © 2018 Leadware. All Rights Reserved.