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.DoublegetCoverage()java.util.DategetCreatedDate()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.LonggetId()Get the id of the object being displayedjava.util.DategetModifiedDate()java.lang.StringgetOrganism()java.lang.LonggetProjectId()java.lang.StringgetProjectName()java.util.List<java.lang.String>getQcEntries()java.lang.StringgetSampleName()booleanisOwner()-
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:DataTablesResponseModelGet the id of the object being displayed- Specified by:
getIdin 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:
getExportableTableRowin 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:
getExportableTableHeadersin interfaceDataTablesExportable- Parameters:
messageSource-MessageSourcelocale-Localefor the current user.- Returns:
- List of table headers.
-
-