Record Class TestCaseDataset
java.lang.Object
java.lang.Record
fr.enedis.chutney.server.core.domain.scenario.campaign.TestCaseDataset
-
Constructor Summary
ConstructorsConstructorDescriptionTestCaseDataset(TestCase testcase, DataSet dataset) Creates an instance of aTestCaseDatasetrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataset()Returns the value of thedatasetrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.testcase()Returns the value of thetestcaserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TestCaseDataset
Creates an instance of aTestCaseDatasetrecord class.- Parameters:
testcase- the value for thetestcaserecord componentdataset- the value for thedatasetrecord component
-
-
Method Details
-
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). -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
testcase
Returns the value of thetestcaserecord component.- Returns:
- the value of the
testcaserecord component
-
dataset
Returns the value of thedatasetrecord component.- Returns:
- the value of the
datasetrecord component
-