Class WrapperHelper


  • public class WrapperHelper
    extends Object
    Collections of utility method for handling Wrappers.
    Since:
    0.7.4.8
    Author:
    Matteo a.k.a. Fugerit
    See Also:
    Wrapper
    • Method Detail

      • unwrap

        public static <T> T unwrap​(T model)
        Recursively unwrap one object as long as it's implementing Wrapper interface
        Type Parameters:
        T - the type of the object to be unwrapped
        Parameters:
        model - the object to be unwrapped
        Returns:
        the unwrapped model