Package guru.interlis.convconf.runtime
Record Class ConversionEngine.ConversionResult
java.lang.Object
java.lang.Record
guru.interlis.convconf.runtime.ConversionEngine.ConversionResult
- Enclosing class:
ConversionEngine
public static record ConversionEngine.ConversionResult(List<CanonicalRecord> canonicalRecords, List<TraceEvent> traceEvents)
extends Record
Result tuple with canonical records and optional trace events.
-
Constructor Summary
ConstructorsConstructorDescriptionConversionResult(List<CanonicalRecord> canonicalRecords, List<TraceEvent> traceEvents) Creates an instance of aConversionResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecanonicalRecordsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetraceEventsrecord component.
-
Constructor Details
-
ConversionResult
Creates an instance of aConversionResultrecord class.- Parameters:
canonicalRecords- the value for thecanonicalRecordsrecord componenttraceEvents- the value for thetraceEventsrecord 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). -
canonicalRecords
Returns the value of thecanonicalRecordsrecord component.- Returns:
- the value of the
canonicalRecordsrecord component
-
traceEvents
Returns the value of thetraceEventsrecord component.- Returns:
- the value of the
traceEventsrecord component
-