Package uk.ac.diamond.daq.mapping.impl
Class SimpleSampleMetadata
java.lang.Object
uk.ac.diamond.daq.mapping.impl.SimpleSampleMetadata
- All Implemented Interfaces:
ISampleMetadata
A simple metadata for sample with a description as well as a name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the sample nameinthashCode()voidsetDescription(String description) voidsetSampleName(String sampleName) Sets the sample nametoString()
-
Constructor Details
-
SimpleSampleMetadata
public SimpleSampleMetadata()
-
-
Method Details
-
getSampleName
Description copied from interface:ISampleMetadataGets the sample name- Specified by:
getSampleNamein interfaceISampleMetadata- Returns:
- sampleName
-
setSampleName
Description copied from interface:ISampleMetadataSets the sample name- Specified by:
setSampleNamein interfaceISampleMetadata- Parameters:
sampleName-
-
getDescription
-
setDescription
-
hashCode
public int hashCode() -
equals
-
toString
-