Interface Saveable

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Saveable
    A role for objects that can be saved.
    Author:
    Fabrizio Giudici
    Stereotype:
    role
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Class<Saveable> _Saveable_  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void saveIn​(it.tidalwave.northernwind.core.model.ResourceFile folder)
      FIXME: this should be save() with no arguments.
    • Field Detail

      • _Saveable_

        static final java.lang.Class<Saveable> _Saveable_
    • Method Detail

      • saveIn

        void saveIn​(@Nonnull
                    it.tidalwave.northernwind.core.model.ResourceFile folder)
        FIXME: this should be save() with no arguments. Requires as far as ResourceProperties doesn't have any reference to its owner, hence to the folder where it should be saved.
        Parameters:
        content -