Class Node


  • public class Node
    extends Object
    The Class Node.
    Author:
    Alejandro Galue
    • Constructor Detail

      • Node

        public Node​(int id,
                    String label,
                    String foreignId,
                    String foreignSource)
        Instantiates a new node.
        Parameters:
        id - the id
        label - the label
        foreignId - the foreign id
        foreignSource - the foreign source
    • Method Detail

      • getId

        public int getId()
        Gets the id.
        Returns:
        the id
      • setId

        public void setId​(int id)
        Sets the id.
        Parameters:
        id - the new id
      • getLabel

        public String getLabel()
        Gets the label.
        Returns:
        the label
      • setLabel

        public void setLabel​(String label)
        Sets the label.
        Parameters:
        label - the new label
      • getForeignId

        public String getForeignId()
        Gets the foreign id.
        Returns:
        the foreign id
      • setForeignId

        public void setForeignId​(String foreignId)
        Sets the foreign id.
        Parameters:
        foreignId - the new foreign id
      • getForeignSource

        public String getForeignSource()
        Gets the foreign source.
        Returns:
        the foreign source
      • setForeignSource

        public void setForeignSource​(String foreignSource)
        Sets the foreign source.
        Parameters:
        foreignSource - the new foreign source
      • getDir

        public File getDir​(File baseDir,
                           boolean storeByFS)
        Gets the dir.
        Parameters:
        baseDir - the base dir
        storeByFS - the store by fs
        Returns:
        the dir
      • getFSId

        public String getFSId()
        Gets the FS id.
        Returns:
        the FS id