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
Modifier and TypeFieldDescriptionprivate final AutomationResult
The field for theautomationResult
record component.private final DatasetDescription
The field for thedataset
record component.private final AnalysisResult
The field for theresults
record component. -
Constructor Summary
ConstructorDescriptionContentRow
(DatasetDescription dataset, AnalysisResult results, AutomationResult automationResult) Creates an instance of aContentRow
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theautomationResult
record component.dataset()
Returns the value of thedataset
record component.final boolean
Indicates whether some other object is "equal to" this one.<T extends Metadata<T>>
Tget
(AnalysisResult.ResultKey<T> resultKey) final int
hashCode()
Returns a hash code value for this object.results()
Returns the value of theresults
record component.toLaTeXRow
(List<ColumnDefinition> columns) Convert this row to LaTex code.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
dataset
The field for thedataset
record component. -
results
The field for theresults
record component. -
automationResult
The field for theautomationResult
record component.
-
-
Constructor Details
-
ContentRow
public ContentRow(DatasetDescription dataset, AnalysisResult results, AutomationResult automationResult) Creates an instance of aContentRow
record class.- Parameters:
dataset
- the value for thedataset
record componentresults
- the value for theresults
record componentautomationResult
- the value for theautomationResult
record component
-
-
Method Details
-
get
-
toLaTeXRow
Description copied from interface:Row
Convert this row to LaTex code.- Specified by:
toLaTeXRow
in 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 thedataset
record component.- Returns:
- the value of the
dataset
record component
-
results
Returns the value of theresults
record component.- Returns:
- the value of the
results
record component
-
automationResult
Returns the value of theautomationResult
record component.- Returns:
- the value of the
automationResult
record component
-