Class DatasetsWebService.DatasetMetadataFileValueObject
java.lang.Object
ubic.gemma.rest.DatasetsWebService.DatasetMetadataFileValueObject
- Enclosing class:
DatasetsWebService
Wire shape for
DatasetsWebService.getDatasetMetadataFiles(DatasetArg): one entry per available metadata file.- Author:
- tesarst
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanMIME content type the server will serve the file with.Human-readable label suitable for UI display.Filename the server will use in theContent-Dispositionheader on download.getType()Enum name of the metadata file type — use this value as the{type}path parameter onGET /datasets/{id}/metadata/{type}to fetch the file.inthashCode()booleanTrue when the underlying metadata is organised as a directory; in that case the file cannot be downloaded directly via/metadata/{type}— request a specific sub-type (e.g.toString()
-
Constructor Details
-
DatasetMetadataFileValueObject
public DatasetMetadataFileValueObject(ExpressionExperimentMetaFileType type, ExpressionExperiment ee)
-
-
Method Details
-
getType
Enum name of the metadata file type — use this value as the{type}path parameter onGET /datasets/{id}/metadata/{type}to fetch the file. -
getDisplayName
Human-readable label suitable for UI display. -
getDownloadName
Filename the server will use in theContent-Dispositionheader on download. -
getContentType
MIME content type the server will serve the file with. -
isDirectory
public boolean isDirectory()True when the underlying metadata is organised as a directory; in that case the file cannot be downloaded directly via/metadata/{type}— request a specific sub-type (e.g.RNASEQ_PIPELINE_REPORT_DATA) instead. -
equals
-
hashCode
-
toString
-