Interface Decorator

    • Method Detail

      • decorate

        IModel decorate​(IModel targetModel,
                        IModel sourceModel)
        Decorate the target model with the contents of the source model, returning a new model that is the result of that decoration.
        Parameters:
        targetModel - The target model to be decorated.
        sourceModel - The source model to use for decorating.
        Returns:
        A new model that is the result of the decoration process.