Record Class ContentRow
java.lang.Object
java.lang.Record
org.variantsync.diffdetective.tablegen.rows.ContentRow
- Record Components:
dataset- the dataset this row belongs toresults- the results of the analysisautomationResult- metadata about the analysis
- All Implemented Interfaces:
Row
public record ContentRow(DatasetDescription dataset, AnalysisResult results, AutomationResult automationResult)
extends Record
implements Row
A row in a LaTex table containing the analysis data of a single dataset.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AutomationResultThe field for theautomationResultrecord component.private final DatasetDescriptionThe field for thedatasetrecord component.private final AnalysisResultThe field for theresultsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionContentRow(DatasetDescription dataset, AnalysisResult results, AutomationResult automationResult) Creates an instance of aContentRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theautomationResultrecord component.dataset()Returns the value of thedatasetrecord component.final booleanIndicates whether some other object is "equal to" this one.<T extends Metadata<T>>
Tget(AnalysisResult.ResultKey<T> resultKey) final inthashCode()Returns a hash code value for this object.results()Returns the value of theresultsrecord component.toLaTeXRow(List<ColumnDefinition> columns) Convert this row to LaTex code.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
dataset
The field for thedatasetrecord component. -
results
The field for theresultsrecord component. -
automationResult
The field for theautomationResultrecord component.
-
-
Constructor Details
-
ContentRow
public ContentRow(DatasetDescription dataset, AnalysisResult results, AutomationResult automationResult) Creates an instance of aContentRowrecord class.- Parameters:
dataset- the value for thedatasetrecord componentresults- the value for theresultsrecord componentautomationResult- the value for theautomationResultrecord component
-
-
Method Details
-
get
-
toLaTeXRow
Description copied from interface:RowConvert this row to LaTex code.- Specified by:
toLaTeXRowin interfaceRow- Parameters:
columns- information about the columns in this row
-
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). -
dataset
Returns the value of thedatasetrecord component.- Returns:
- the value of the
datasetrecord component
-
results
Returns the value of theresultsrecord component.- Returns:
- the value of the
resultsrecord component
-
automationResult
Returns the value of theautomationResultrecord component.- Returns:
- the value of the
automationResultrecord component
-