Interface InstanceCreator<T>

  • Type Parameters:
    T - the type of the class

    public interface InstanceCreator<T>
    Provides access for setting data and the creation of a class instances.
    • Method Detail

      • set

        <S> void set​(S value,
                     PropertyModel<S> propertyModel)
        Sets a value for the given PropertyModel
        Type Parameters:
        S - the PropertyModel's type
        value - the new value for the property
        propertyModel - the PropertyModel representing the property to set the value for.
      • getInstance

        T getInstance​()
        Returns the new instance of the class.

        Note: This will be called after all the values have been set.

        the new class instance.