Class RESTData

  • Direct Known Subclasses:
    RESTDataDirectory, RESTDataFile, RESTDataRemote

    public class RESTData
    extends AbstractRESTEntity
    A data is the description of the source data of a import (overall) or a task. In case the import has a global data definition, this normally refers to an aggregate store such as a directory or a database, and the data associated to the tasks refers to a single element inside such aggregation, such as a single file or table.

    A import can have a "data" representing the source of the data to be imported. The data can be of different types, in particular: "file", "directory", "mosaic", "database" and "remote". During the import initialization the importer will scan the contents of said resource, and generate import tasks for each data found in it.

    Author:
    Daniel Koch, terrestris GmbH & Co. KG
    • Constructor Detail

      • RESTData

        public RESTData()
        Default constructor.
    • Method Detail

      • getType

        public String getType()
        Returns:
        the type
      • setType

        public void setType​(String type)
        Parameters:
        type - the type to set
      • getFormat

        public String getFormat()
        Returns:
        the format
      • setFormat

        public void setFormat​(String format)
        Parameters:
        format - the format to set
      • getFile

        public String getFile()
        Returns:
        the file
      • setFile

        public void setFile​(String file)
        Parameters:
        file - the file to set
      • getLocation

        public String getLocation()
        Returns:
      • setLocation

        public void setLocation​(String location)
        Parameters:
        location -