Class NoArgCreator<E>

    • Constructor Detail

      • NoArgCreator

        public NoArgCreator​(Constructor<E> noArgsConstructor)
        Creates the creator
        Parameters:
        noArgsConstructor - the constructor
    • Method Detail

      • set

        public <S> void set​(S value,
                            FieldModel<S> model)
        Description copied from interface: InstanceCreator
        Sets a value for the given FieldModel
        Specified by:
        set in interface InstanceCreator<E>
        Type Parameters:
        S - the model's type
        Parameters:
        value - the value
        model - the model