Interface ModuleIF

  • All Known Implementing Classes:
    Module

    public interface ModuleIF
    INTERNAL: Implemented by an object which represents a module. That is a collection of functions. The module is read in from a location specified by an URL.
    See Also:
    FunctionIF
    • Method Detail

      • getURL

        URL getURL()
        Gets the URL from where this module was read in.
      • hasResourceChanged

        boolean hasResourceChanged()
        Checks if the resource has changed in the meantime by comparing the lastModified fields.
      • clearFunctions

        void clearFunctions()
        Removes all existing functions.
      • getFunctions

        Collection getFunctions()
        Gets a collection of FunctionIF objects that are contained in this module.
        See Also:
        FunctionIF
      • addFunction

        void addFunction​(FunctionIF func)
        Adds a function to this module.
      • toString

        String toString()
        Returns a string representation of this object.
        Overrides:
        toString in class Object