Class TestModelUtils


  • public class TestModelUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TestModelUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends ItemModel>
      T
      reReadModel​(T _model)
      Re-reads model from database.
      • Methods inherited from class java.lang.Object

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

      • TestModelUtils

        public TestModelUtils()
    • Method Detail

      • reReadModel

        public static <T extends ItemModel> T reReadModel​(T _model)
        Re-reads model from database. This method first detaches passed model from the ModelContext and next re-reads as completely new from database.