Class RESTImport


  • public class RESTImport
    extends AbstractRESTEntity
    An import refers to the top level object and is a "session" like entity the state of the entire import. It maintains information relevant to the import as a whole such as user information, timestamps along with optional information that is uniform along all tasks, such as a target workspace, the shared input data (e.g. a directory, a database). An import is made of any number of task objects.
    Author:
    Daniel Koch, terrestris GmbH & Co. KG
    • Constructor Detail

      • RESTImport

        public RESTImport()
        Default constructor.
    • Method Detail

      • getTargetWorkspace

        public RESTTargetWorkspace getTargetWorkspace()
        Returns:
        the targetWorkspace
      • setTargetWorkspace

        public void setTargetWorkspace​(RESTTargetWorkspace targetWorkspace)
        Parameters:
        targetWorkspace - the targetWorkspace to set
      • setTargetStore

        public void setTargetStore​(RESTTargetDataStore targetStore)
        Parameters:
        targetStore - the targetStore to set
      • getData

        public RESTData getData()
        Returns:
        the data
      • setData

        public void setData​(RESTData data)
        Parameters:
        data - the data to set
      • getId

        public Integer getId()
        Returns:
        the id
      • getHref

        public String getHref()
        Returns:
        the href
      • getState

        public String getState()
        Returns:
        the state