Class RESTImport
- java.lang.Object
-
- de.terrestris.shoguncore.importer.communication.AbstractRESTEntity
-
- de.terrestris.shoguncore.importer.communication.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 Summary
Constructors Constructor Description RESTImport()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RESTDatagetData()StringgetHref()IntegergetId()List<RESTImportTask>getImportTasks()StringgetState()RESTTargetDataStoregetTargetStore()RESTTargetWorkspacegetTargetWorkspace()voidsetData(RESTData data)voidsetTargetStore(RESTTargetDataStore targetStore)voidsetTargetWorkspace(RESTTargetWorkspace targetWorkspace)
-
-
-
Method Detail
-
getTargetWorkspace
public RESTTargetWorkspace getTargetWorkspace()
- Returns:
- the targetWorkspace
-
setTargetWorkspace
public void setTargetWorkspace(RESTTargetWorkspace targetWorkspace)
- Parameters:
targetWorkspace- the targetWorkspace to set
-
getTargetStore
public RESTTargetDataStore getTargetStore()
- Returns:
- the targetStore
-
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
-
getImportTasks
public List<RESTImportTask> getImportTasks()
- Returns:
- the importTasks
-
-