Class ConsumerPopulator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TYPE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isGuestUser​(UserModel userModel)  
      void populate​(UserModel userModel, Consumer consumer)
      Populate the target instance with values from the source instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsumerPopulator

        public ConsumerPopulator()
    • Method Detail

      • populate

        public void populate​(UserModel userModel,
                             Consumer consumer)
        Description copied from interface: Populator
        Populate the target instance with values from the source instance.
        Specified by:
        populate in interface Populator<UserModel,​Consumer>
        Parameters:
        userModel - the source object
        consumer - the target to fill
      • isGuestUser

        protected boolean isGuestUser​(UserModel userModel)