Package net.finmath.pontes.erc7573
Record Class PontesGenerationStore.Entry
java.lang.Object
java.lang.Record
net.finmath.pontes.erc7573.PontesGenerationStore.Entry
- All Implemented Interfaces:
Serializable
- Enclosing interface:
PontesGenerationStore
public static record PontesGenerationStore.Entry(String requestKey, String fingerprint, PontesGenerationStore.State state, PontesRawHttpResponse rawResponse, PontesGenerationResult result, String error)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntry(String requestKey, String fingerprint, PontesGenerationStore.State state, PontesRawHttpResponse rawResponse, PontesGenerationResult result, String error) Creates an instance of aEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.Returns the value of thefingerprintrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therawResponserecord component.Returns the value of therequestKeyrecord component.result()Returns the value of theresultrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
public Entry(String requestKey, String fingerprint, PontesGenerationStore.State state, PontesRawHttpResponse rawResponse, PontesGenerationResult result, String error) Creates an instance of aEntryrecord class.- Parameters:
requestKey- the value for therequestKeyrecord componentfingerprint- the value for thefingerprintrecord componentstate- the value for thestaterecord componentrawResponse- the value for therawResponserecord componentresult- the value for theresultrecord componenterror- the value for theerrorrecord 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). -
requestKey
Returns the value of therequestKeyrecord component.- Returns:
- the value of the
requestKeyrecord component
-
fingerprint
Returns the value of thefingerprintrecord component.- Returns:
- the value of the
fingerprintrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
rawResponse
Returns the value of therawResponserecord component.- Returns:
- the value of the
rawResponserecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-