org.labkey.remoteapi.assay
Class Data
java.lang.Object
org.labkey.remoteapi.ResponseObject
org.labkey.remoteapi.assay.ExpObject
org.labkey.remoteapi.assay.Data
public class Data
- extends ExpObject
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.
User: jeckels
Date: Apr 28, 2010
|
Constructor Summary |
Data()
|
Data(org.json.simple.JSONObject json)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Data
public Data()
Data
public Data(org.json.simple.JSONObject json)
toJSONObject
public org.json.simple.JSONObject toJSONObject()
- Overrides:
toJSONObject in class ExpObject
getDataFileURL
public java.lang.String getDataFileURL()
- Returns:
- the URL to the data file from the web server's perspective
setDataFileURL
public void setDataFileURL(java.lang.String dataFileURL)
- Parameters:
dataFileURL - the URL to the data file from the web server's perspective
getAbsolutePath
public java.lang.String getAbsolutePath()
- Returns:
- the full path to the file from the web server's file system perspective
setAbsolutePath
public void setAbsolutePath(java.lang.String absolutePath)
- Parameters:
absolutePath - the full path to the file from the web server's file system perspective
getPipelinePath
public java.lang.String getPipelinePath()
- Returns:
- the path to the file on the file system, relative to the folder's pipeline root
setPipelinePath
public void setPipelinePath(java.lang.String pipelinePath)
- Parameters:
pipelinePath - the path to the file on the file system, relative to the folder's pipeline root