Class GalaxyExportSample
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.cart.dto.GalaxyExportSample
-
public class GalaxyExportSample extends java.lang.Object
UI Model to return sample links in the format that galaxy expects:[{ "name" : "sample_name", "_links" : { "self" : { "href" : ""} }, "_embedded" : { "sample_files" : [ { "_links" : { "self" : { "href" : "http://samples_href" } } }, ... ] } }]
-
-
Constructor Summary
Constructors Constructor Description GalaxyExportSample(Sample sample, java.lang.Long projectId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>>>>
getEmbedded()
Get aMap
of all the file linksjava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
getLinks()
Get theMap
for this samplejava.lang.String
getName()
-
-
-
Constructor Detail
-
GalaxyExportSample
public GalaxyExportSample(Sample sample, java.lang.Long projectId)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getLinks
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getLinks()
Get theMap
for this sample- Returns:
Map
of links
-
getEmbedded
public java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>>>> getEmbedded()
Get aMap
of all the file links- Returns:
Map
of file links
-
-