java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ZerostateMaster
-
Constructor Summary
ConstructorsConstructorDescriptionZerostateMaster
(Config config, String config_addr, String global_balance, List<OtherCurrency> global_balance_other, Float validator_list_hash_short) Creates an instance of aZerostateMaster
record class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()
Returns the value of theconfig
record component.Returns the value of theconfig_addr
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theglobal_balance
record component.static QueryExecutorBuilder
global_balance
(String objectFieldsTree, BigIntFormat format) Returns the value of theglobal_balance_other
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Returns the value of thevalidator_list_hash_short
record component.
-
Constructor Details
-
ZerostateMaster
public ZerostateMaster(Config config, String config_addr, String global_balance, List<OtherCurrency> global_balance_other, Float validator_list_hash_short) Creates an instance of aZerostateMaster
record class.- Parameters:
config
- the value for theconfig
record componentconfig_addr
- the value for theconfig_addr
record componentglobal_balance
- the value for theglobal_balance
record componentglobal_balance_other
- the value for theglobal_balance_other
record componentvalidator_list_hash_short
- the value for thevalidator_list_hash_short
record component
-
-
Method Details
-
global_balance
-
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)
. -
config
Returns the value of theconfig
record component.- Returns:
- the value of the
config
record component
-
config_addr
Returns the value of theconfig_addr
record component.- Returns:
- the value of the
config_addr
record component
-
global_balance
Returns the value of theglobal_balance
record component.- Returns:
- the value of the
global_balance
record component
-
global_balance_other
Returns the value of theglobal_balance_other
record component.- Returns:
- the value of the
global_balance_other
record component
-
validator_list_hash_short
Returns the value of thevalidator_list_hash_short
record component.- Returns:
- the value of the
validator_list_hash_short
record component
-