Package net.finmath.pontes.erc7573
Record Class PontesGenerationResult
java.lang.Object
java.lang.Record
net.finmath.pontes.erc7573.PontesGenerationResult
- All Implemented Interfaces:
Serializable
public record PontesGenerationResult(UUID xvpTransactionId, Instant timeout, String executionHash, String cancellationHash, byte[] executionReference, byte[] cancellationReference)
extends Record
implements Serializable
Durable, already-validated create result, including stable signed public references.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPontesGenerationResult(UUID xvpTransactionId, Instant timeout, String executionHash, String cancellationHash, byte[] executionReference, byte[] cancellationReference) Creates an instance of aPontesGenerationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecancellationHashrecord component.byte[]Returns the value of thecancellationReferencerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionHashrecord component.byte[]Returns the value of theexecutionReferencerecord component.final inthashCode()Returns a hash code value for this object.timeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thexvpTransactionIdrecord component.
-
Constructor Details
-
PontesGenerationResult
public PontesGenerationResult(UUID xvpTransactionId, Instant timeout, String executionHash, String cancellationHash, byte[] executionReference, byte[] cancellationReference) Creates an instance of aPontesGenerationResultrecord class.- Parameters:
xvpTransactionId- the value for thexvpTransactionIdrecord componenttimeout- the value for thetimeoutrecord componentexecutionHash- the value for theexecutionHashrecord componentcancellationHash- the value for thecancellationHashrecord componentexecutionReference- the value for theexecutionReferencerecord componentcancellationReference- the value for thecancellationReferencerecord component
-
-
Method Details
-
executionReference
public byte[] executionReference()Returns the value of theexecutionReferencerecord component.- Returns:
- the value of the
executionReferencerecord component
-
cancellationReference
public byte[] cancellationReference()Returns the value of thecancellationReferencerecord component.- Returns:
- the value of the
cancellationReferencerecord component
-
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). -
xvpTransactionId
Returns the value of thexvpTransactionIdrecord component.- Returns:
- the value of the
xvpTransactionIdrecord component
-
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
executionHash
Returns the value of theexecutionHashrecord component.- Returns:
- the value of the
executionHashrecord component
-
cancellationHash
Returns the value of thecancellationHashrecord component.- Returns:
- the value of the
cancellationHashrecord component
-