Class DTProjectSamples
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.models.datatables.DTProjectSamples
-
- All Implemented Interfaces:
DataTablesExportable
,DataTablesResponseModel
public class DTProjectSamples extends java.lang.Object implements DataTablesResponseModel, DataTablesExportable
DataTables response object forProjectSampleJoin
-
-
Field Summary
-
Fields inherited from interface ca.corefacility.bioinformatics.irida.ria.web.components.datatables.models.DataTablesResponseModel
ROW_ID_PREFIX
-
-
Constructor Summary
Constructors Constructor Description DTProjectSamples(ProjectSampleJoin projectSampleJoin, java.util.List<java.lang.String> qcEntries, java.lang.Double coverage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getCoverage()
java.util.Date
getCreatedDate()
java.util.List<java.lang.String>
getExportableTableHeaders(org.springframework.context.MessageSource messageSource, java.util.Locale locale)
Get an ordered list of internationalized table headers for the datatable.java.util.List<java.lang.String>
getExportableTableRow()
Convert the attribute of the class into a ordered list.java.lang.Long
getId()
Get the id of the object being displayedjava.util.Date
getModifiedDate()
java.lang.String
getOrganism()
java.lang.Long
getProjectId()
java.lang.String
getProjectName()
java.util.List<java.lang.String>
getQcEntries()
java.lang.String
getSampleName()
boolean
isOwner()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.ria.web.components.datatables.models.DataTablesResponseModel
getDT_RowId
-
-
-
-
Constructor Detail
-
DTProjectSamples
public DTProjectSamples(ProjectSampleJoin projectSampleJoin, java.util.List<java.lang.String> qcEntries, java.lang.Double coverage)
-
-
Method Detail
-
getId
public java.lang.Long getId()
Description copied from interface:DataTablesResponseModel
Get the id of the object being displayed- Specified by:
getId
in interfaceDataTablesResponseModel
- Returns:
- the Long id of the object
-
getSampleName
public java.lang.String getSampleName()
-
getOrganism
public java.lang.String getOrganism()
-
getProjectId
public java.lang.Long getProjectId()
-
getProjectName
public java.lang.String getProjectName()
-
getCreatedDate
public java.util.Date getCreatedDate()
-
getModifiedDate
public java.util.Date getModifiedDate()
-
getQcEntries
public java.util.List<java.lang.String> getQcEntries()
-
getCoverage
public java.lang.Double getCoverage()
-
isOwner
public boolean isOwner()
-
getExportableTableRow
public java.util.List<java.lang.String> getExportableTableRow()
Convert the attribute of the class into a ordered list.- Specified by:
getExportableTableRow
in interfaceDataTablesExportable
- Returns:
- List of values in order for the specific datatable.
-
getExportableTableHeaders
public java.util.List<java.lang.String> getExportableTableHeaders(org.springframework.context.MessageSource messageSource, java.util.Locale locale)
Get an ordered list of internationalized table headers for the datatable.- Specified by:
getExportableTableHeaders
in interfaceDataTablesExportable
- Parameters:
messageSource
-MessageSource
locale
-Locale
for the current user.- Returns:
- List of table headers.
-
-