java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.MsgEnvelope
-
Constructor Summary
ConstructorsConstructorDescriptionMsgEnvelope
(String cur_addr, String fwd_fee_remaining, String msg_id, String next_addr) Creates an instance of aMsgEnvelope
record class. -
Method Summary
Modifier and TypeMethodDescriptioncur_addr()
Returns the value of thecur_addr
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefwd_fee_remaining
record component.static QueryExecutorBuilder
fwd_fee_remaining
(String objectFieldsTree, BigIntFormat format) final int
hashCode()
Returns a hash code value for this object.msg_id()
Returns the value of themsg_id
record component.Returns the value of thenext_addr
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
MsgEnvelope
Creates an instance of aMsgEnvelope
record class.- Parameters:
cur_addr
- the value for thecur_addr
record componentfwd_fee_remaining
- the value for thefwd_fee_remaining
record componentmsg_id
- the value for themsg_id
record componentnext_addr
- the value for thenext_addr
record component
-
-
Method Details
-
fwd_fee_remaining
-
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)
. -
cur_addr
Returns the value of thecur_addr
record component.- Returns:
- the value of the
cur_addr
record component
-
fwd_fee_remaining
Returns the value of thefwd_fee_remaining
record component.- Returns:
- the value of the
fwd_fee_remaining
record component
-
msg_id
Returns the value of themsg_id
record component.- Returns:
- the value of the
msg_id
record component
-
next_addr
Returns the value of thenext_addr
record component.- Returns:
- the value of the
next_addr
record component
-