Package org.nuiton.topiatest.beangen
Class GeneratedVoitureHelper
java.lang.Object
org.nuiton.topiatest.beangen.GeneratedVoitureHelper
- Direct Known Subclasses:
VoitureHelper
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <BeanType extends Voiture>
voidcopyVoiture(BeanType source, BeanType target) static <BeanType extends Voiture>
voidcopyVoiture(BeanType source, BeanType target, org.nuiton.util.beans.Binder<BeanType, BeanType> binder) filterByImmatriculation(Collection<BeanType> $source, int immatriculation) filterByModele(Collection<BeanType> $source, String modele) filterByProprietaire(Collection<BeanType> $source, Personne proprietaire) static <BeanType extends Voiture>
com.google.common.base.Predicate<BeanType>newImmatriculationPredicate(int immatriculation) static <BeanType extends Voiture>
com.google.common.base.Predicate<BeanType>newModelePredicate(String modele) static <BeanType extends Voiture>
com.google.common.base.Predicate<BeanType>newProprietairePredicate(Personne proprietaire) uniqueIndexByImmatriculation(Iterable<BeanType> $source) uniqueIndexByModele(Iterable<BeanType> $source) uniqueIndexByProprietaire(Iterable<BeanType> $source)
-
Field Details
-
IMMATRICULATION_FUNCTION
-
MODELE_FUNCTION
-
PROPRIETAIRE_FUNCTION
-
-
Constructor Details
-
GeneratedVoitureHelper
public GeneratedVoitureHelper()
-
-
Method Details
-
typeOfVoiture
-
copyVoiture
-
copyVoiture
public static <BeanType extends Voiture> void copyVoiture(BeanType source, BeanType target, org.nuiton.util.beans.Binder<BeanType, BeanType> binder) -
newImmatriculationPredicate
public static <BeanType extends Voiture> com.google.common.base.Predicate<BeanType> newImmatriculationPredicate(int immatriculation) -
filterByImmatriculation
public static <BeanType extends Voiture> List<BeanType> filterByImmatriculation(Collection<BeanType> $source, int immatriculation) -
newModelePredicate
-
filterByModele
public static <BeanType extends Voiture> List<BeanType> filterByModele(Collection<BeanType> $source, String modele) -
newProprietairePredicate
-
filterByProprietaire
public static <BeanType extends Voiture> List<BeanType> filterByProprietaire(Collection<BeanType> $source, Personne proprietaire) -
getImmatriculationFunction
-
newImmatriculationFunction
-
uniqueIndexByImmatriculation
-
getModeleFunction
-
newModeleFunction
-
uniqueIndexByModele
-
getProprietaireFunction
-
newProprietaireFunction
-
uniqueIndexByProprietaire
-