java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Net.TransactionNode
- Record Components:
id
- Transaction id.inMsg
- In message id.outMsgs
- Out message ids.accountAddr
- Account address.totalFees
- Transactions total fees.aborted
- Aborted flag.exitCode
- Compute phase exit code.
- Enclosing class:
Net
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaborted()
Returns the value of theaborted
record component.Returns the value of theaccountAddr
record component.final boolean
Indicates whether some other object is "equal to" this one.exitCode()
Returns the value of theexitCode
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.inMsg()
Returns the value of theinMsg
record component.String[]
outMsgs()
Returns the value of theoutMsgs
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetotalFees
record component.
-
Constructor Details
-
TransactionNode
public TransactionNode(String id, String inMsg, String[] outMsgs, String accountAddr, String totalFees, Boolean aborted, Long exitCode) Creates an instance of aTransactionNode
record class.- Parameters:
id
- the value for theid
record componentinMsg
- the value for theinMsg
record componentoutMsgs
- the value for theoutMsgs
record componentaccountAddr
- the value for theaccountAddr
record componenttotalFees
- the value for thetotalFees
record componentaborted
- the value for theaborted
record componentexitCode
- the value for theexitCode
record 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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
inMsg
Returns the value of theinMsg
record component.- Returns:
- the value of the
inMsg
record component
-
outMsgs
Returns the value of theoutMsgs
record component.- Returns:
- the value of the
outMsgs
record component
-
accountAddr
Returns the value of theaccountAddr
record component.- Returns:
- the value of the
accountAddr
record component
-
totalFees
Returns the value of thetotalFees
record component.- Returns:
- the value of the
totalFees
record component
-
aborted
Returns the value of theaborted
record component.- Returns:
- the value of the
aborted
record component
-
exitCode
Returns the value of theexitCode
record component.- Returns:
- the value of the
exitCode
record component
-