Package ch.rswk.meta.engine.test
Record Class EngineUpdaterSchemaTest.EngineUpdaterSchemaTestObjectV2
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.test.EngineUpdaterSchemaTest.EngineUpdaterSchemaTestObjectV2
- Enclosing class:
EngineUpdaterSchemaTest
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEngineUpdaterSchemaTestObjectV2(int number, String text, String sortableText) Creates an instance of aEngineUpdaterSchemaTestObjectV2record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intnumber()Returns the value of thenumberrecord component.Returns the value of thesortableTextrecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
number
private final int numberThe field for thenumberrecord component. -
text
The field for thetextrecord component. -
sortableText
The field for thesortableTextrecord component.
-
-
Constructor Details
-
EngineUpdaterSchemaTestObjectV2
Creates an instance of aEngineUpdaterSchemaTestObjectV2record class.- Parameters:
number- the value for thenumberrecord componenttext- the value for thetextrecord componentsortableText- the value for thesortableTextrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
number
public int number()Returns the value of thenumberrecord component.- Returns:
- the value of the
numberrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
sortableText
Returns the value of thesortableTextrecord component.- Returns:
- the value of the
sortableTextrecord component
-