Class RESTData
- java.lang.Object
-
- de.terrestris.shoguncore.importer.communication.AbstractRESTEntity
-
- de.terrestris.shoguncore.importer.communication.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 Summary
Constructors Constructor Description RESTData()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFile()StringgetFormat()StringgetLocation()StringgetType()voidsetFile(String file)voidsetFormat(String format)voidsetLocation(String location)voidsetType(String type)
-
-
-
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-
-
-