Record Class ValidatorSet

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ValidatorSet

public record ValidatorSet(List<ValidatorSetList> list, Integer main, Integer total, String total_weight, Float utime_since, String utime_since_string, Float utime_until, String utime_until_string) extends Record
  • Constructor Details

    • ValidatorSet

      public ValidatorSet(List<ValidatorSetList> list, Integer main, Integer total, String total_weight, Float utime_since, String utime_since_string, Float utime_until, String utime_until_string)
      Creates an instance of a ValidatorSet record class.
      Parameters:
      list - the value for the list record component
      main - the value for the main record component
      total - the value for the total record component
      total_weight - the value for the total_weight record component
      utime_since - the value for the utime_since record component
      utime_since_string - the value for the utime_since_string record component
      utime_until - the value for the utime_until record component
      utime_until_string - the value for the utime_until_string record component
  • Method Details

    • total_weight

      public static QueryExecutorBuilder total_weight(String objectFieldsTree, BigIntFormat format)
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • list

      public List<ValidatorSetList> list()
      Returns the value of the list record component.
      Returns:
      the value of the list record component
    • main

      public Integer main()
      Returns the value of the main record component.
      Returns:
      the value of the main record component
    • total

      public Integer total()
      Returns the value of the total record component.
      Returns:
      the value of the total record component
    • total_weight

      public String total_weight()
      Returns the value of the total_weight record component.
      Returns:
      the value of the total_weight record component
    • utime_since

      public Float utime_since()
      Returns the value of the utime_since record component.
      Returns:
      the value of the utime_since record component
    • utime_since_string

      public String utime_since_string()
      Returns the value of the utime_since_string record component.
      Returns:
      the value of the utime_since_string record component
    • utime_until

      public Float utime_until()
      Returns the value of the utime_until record component.
      Returns:
      the value of the utime_until record component
    • utime_until_string

      public String utime_until_string()
      Returns the value of the utime_until_string record component.
      Returns:
      the value of the utime_until_string record component