Class PipelineProvidedMetadataEntry
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.sample.metadata.MetadataEntry
-
- ca.corefacility.bioinformatics.irida.model.sample.metadata.PipelineProvidedMetadataEntry
-
@Entity public class PipelineProvidedMetadataEntry extends MetadataEntry
MetadataEntry
that has been created by an analysis pipeline
-
-
Constructor Summary
Constructors Constructor Description PipelineProvidedMetadataEntry(java.lang.String value, java.lang.String type, MetadataTemplateField field, AnalysisSubmission submission)
PipelineProvidedMetadataEntry(java.lang.String value, java.lang.String type, AnalysisSubmission submission)
Build aPipelineProvidedMetadataEntry
with the given value, type andAnalysisSubmission
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
AnalysisSubmission
getSubmission()
Get theAnalysisSubmission
that created this metadataint
hashCode()
void
merge(MetadataEntry metadataEntry)
Merges the passed metadata entry into this metadata entry.
-
-
-
Constructor Detail
-
PipelineProvidedMetadataEntry
public PipelineProvidedMetadataEntry(java.lang.String value, java.lang.String type, AnalysisSubmission submission)
Build aPipelineProvidedMetadataEntry
with the given value, type andAnalysisSubmission
- Parameters:
value
- the value of the metadata entrytype
- the datatype of the metadatasubmission
- theAnalysisSubmission
that created this metadata
-
PipelineProvidedMetadataEntry
public PipelineProvidedMetadataEntry(java.lang.String value, java.lang.String type, MetadataTemplateField field, AnalysisSubmission submission)
-
-
Method Detail
-
getSubmission
public AnalysisSubmission getSubmission()
Get theAnalysisSubmission
that created this metadata- Returns:
- the
AnalysisSubmission
-
merge
public void merge(MetadataEntry metadataEntry)
Merges the passed metadata entry into this metadata entry.- Overrides:
merge
in classMetadataEntry
- Parameters:
metadataEntry
- The new metadata entry.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classMetadataEntry
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMetadataEntry
-
-