Class GeneratedVoitureHelper

java.lang.Object
org.nuiton.topiatest.beangen.GeneratedVoitureHelper
Direct Known Subclasses:
VoitureHelper

public abstract class GeneratedVoitureHelper extends Object
  • Field Details

    • IMMATRICULATION_FUNCTION

      protected static final com.google.common.base.Function<Voiture,Integer> IMMATRICULATION_FUNCTION
    • MODELE_FUNCTION

      protected static final com.google.common.base.Function<Voiture,String> MODELE_FUNCTION
    • PROPRIETAIRE_FUNCTION

      protected static final com.google.common.base.Function<Voiture,Personne> PROPRIETAIRE_FUNCTION
  • Constructor Details

    • GeneratedVoitureHelper

      public GeneratedVoitureHelper()
  • Method Details

    • typeOfVoiture

      public static <BeanType extends Voiture> Class<BeanType> typeOfVoiture()
    • copyVoiture

      public static <BeanType extends Voiture> void copyVoiture(BeanType source, BeanType target)
    • 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

      public static <BeanType extends Voiture> com.google.common.base.Predicate<BeanType> newModelePredicate(String modele)
    • filterByModele

      public static <BeanType extends Voiture> List<BeanType> filterByModele(Collection<BeanType> $source, String modele)
    • newProprietairePredicate

      public static <BeanType extends Voiture> com.google.common.base.Predicate<BeanType> newProprietairePredicate(Personne proprietaire)
    • filterByProprietaire

      public static <BeanType extends Voiture> List<BeanType> filterByProprietaire(Collection<BeanType> $source, Personne proprietaire)
    • getImmatriculationFunction

      public static <BeanType extends Voiture> com.google.common.base.Function<BeanType,Integer> getImmatriculationFunction()
    • newImmatriculationFunction

      public static <BeanType extends Voiture> com.google.common.base.Function<BeanType,Integer> newImmatriculationFunction()
    • uniqueIndexByImmatriculation

      public static <BeanType extends Voiture> com.google.common.collect.ImmutableMap<Integer,BeanType> uniqueIndexByImmatriculation(Iterable<BeanType> $source)
    • getModeleFunction

      public static <BeanType extends Voiture> com.google.common.base.Function<BeanType,String> getModeleFunction()
    • newModeleFunction

      public static <BeanType extends Voiture> com.google.common.base.Function<BeanType,String> newModeleFunction()
    • uniqueIndexByModele

      public static <BeanType extends Voiture> com.google.common.collect.ImmutableMap<String,BeanType> uniqueIndexByModele(Iterable<BeanType> $source)
    • getProprietaireFunction

      public static <BeanType extends Voiture> com.google.common.base.Function<BeanType,Personne> getProprietaireFunction()
    • newProprietaireFunction

      public static <BeanType extends Voiture> com.google.common.base.Function<BeanType,Personne> newProprietaireFunction()
    • uniqueIndexByProprietaire

      public static <BeanType extends Voiture> com.google.common.collect.ImmutableMap<Personne,BeanType> uniqueIndexByProprietaire(Iterable<BeanType> $source)