Package org.lifstools.jmzqc
Record Class Metadata
java.lang.Object
java.lang.Record
org.lifstools.jmzqc.Metadata
public record Metadata(List<AnalysisSoftware> analysisSoftware, List<CvParameter> cvParameters, List<InputFile> inputFiles, String label)
extends Record
Metadata describing the QC analysis.
-
Constructor Summary
ConstructorsConstructorDescriptionMetadata(List<AnalysisSoftware> analysisSoftware, List<CvParameter> cvParameters, List<InputFile> inputFiles, String label) Creates an instance of aMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theanalysisSoftwarerecord component.Returns the value of thecvParametersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinputFilesrecord component.label()Returns the value of thelabelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Metadata
public Metadata(List<AnalysisSoftware> analysisSoftware, List<CvParameter> cvParameters, List<InputFile> inputFiles, String label) Creates an instance of aMetadatarecord class.- Parameters:
analysisSoftware- the value for theanalysisSoftwarerecord componentcvParameters- the value for thecvParametersrecord componentinputFiles- the value for theinputFilesrecord componentlabel- the value for thelabelrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
analysisSoftware
Returns the value of theanalysisSoftwarerecord component.- Returns:
- the value of the
analysisSoftwarerecord component
-
cvParameters
Returns the value of thecvParametersrecord component.- Returns:
- the value of the
cvParametersrecord component
-
inputFiles
Returns the value of theinputFilesrecord component.- Returns:
- the value of the
inputFilesrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-