Record Class StringFilter

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

public record StringFilter(String eq, String ne, String gt, String lt, String ge, String le, List<String> in, List<String> notIn) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    StringFilter(String eq, String ne, String gt, String lt, String ge, String le, List<String> in, List<String> notIn)
    Creates an instance of a StringFilter record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    eq()
    Returns the value of the eq record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    ge()
    Returns the value of the ge record component.
    gt()
    Returns the value of the gt record component.
    final int
    Returns a hash code value for this object.
    in()
    Returns the value of the in record component.
    le()
    Returns the value of the le record component.
    lt()
    Returns the value of the lt record component.
    ne()
    Returns the value of the ne record component.
    Returns the value of the notIn record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StringFilter

      public StringFilter(String eq, String ne, String gt, String lt, String ge, String le, List<String> in, List<String> notIn)
      Creates an instance of a StringFilter record class.
      Parameters:
      eq - the value for the eq record component
      ne - the value for the ne record component
      gt - the value for the gt record component
      lt - the value for the lt record component
      ge - the value for the ge record component
      le - the value for the le record component
      in - the value for the in record component
      notIn - the value for the notIn record component
  • Method Details

    • 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.
    • eq

      public String eq()
      Returns the value of the eq record component.
      Returns:
      the value of the eq record component
    • ne

      public String ne()
      Returns the value of the ne record component.
      Returns:
      the value of the ne record component
    • gt

      public String gt()
      Returns the value of the gt record component.
      Returns:
      the value of the gt record component
    • lt

      public String lt()
      Returns the value of the lt record component.
      Returns:
      the value of the lt record component
    • ge

      public String ge()
      Returns the value of the ge record component.
      Returns:
      the value of the ge record component
    • le

      public String le()
      Returns the value of the le record component.
      Returns:
      the value of the le record component
    • in

      public List<String> in()
      Returns the value of the in record component.
      Returns:
      the value of the in record component
    • notIn

      public List<String> notIn()
      Returns the value of the notIn record component.
      Returns:
      the value of the notIn record component