Package org.labkey.remoteapi.assay
Class Data
java.lang.Object
org.labkey.remoteapi.ResponseObject
org.labkey.remoteapi.assay.ExpObject
org.labkey.remoteapi.assay.Data
Represents a data file that may be used in a run. In order to successfully look up a data file when saving a run,
the server checks for the id, pipelinePath, dataFileURL, and pipelinePath properties (in that order) to try to resolve
the file reference. At least one must be specified.
-
Field Summary
Fields inherited from class org.labkey.remoteapi.ResponseObject
_allProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAbsolutePath(String absolutePath) voidsetDataFileURL(String dataFileURL) voidsetPipelinePath(String pipelinePath) org.json.JSONObjectMethods inherited from class org.labkey.remoteapi.assay.ExpObject
getId, getName, getProperties, setId, setName, setPropertiesMethods inherited from class org.labkey.remoteapi.ResponseObject
getAllProperties
-
Constructor Details
-
Data
public Data() -
Data
public Data(org.json.JSONObject json)
-
-
Method Details
-
toJSONObject
public org.json.JSONObject toJSONObject()- Overrides:
toJSONObjectin classExpObject
-
getDataFileURL
- Returns:
- the URL to the data file from the web server's perspective
-
setDataFileURL
- Parameters:
dataFileURL- the URL to the data file from the web server's perspective
-
getAbsolutePath
- Returns:
- the full path to the file from the web server's file system perspective
-
setAbsolutePath
- Parameters:
absolutePath- the full path to the file from the web server's file system perspective
-
getPipelinePath
- Returns:
- the path to the file on the file system, relative to the folder's pipeline root
-
setPipelinePath
- Parameters:
pipelinePath- the path to the file on the file system, relative to the folder's pipeline root
-