Record Class Input

java.lang.Object
java.lang.Record
com.jsql.model.suspendable.Input

public record Input(String payload, String[] sourcePage, boolean isMultipleRows, int countRowsToFind, AbstractElementDatabase elementDatabase, String metadataInjectionProcess) extends Record
  • Constructor Details

    • Input

      public Input(String charInsertion)
    • Input

      public Input(String payload, String[] sourcePage, boolean isMultipleRows, int countRowsToFind, AbstractElementDatabase elementDatabase, String metadataInjectionProcess)
      Creates an instance of a Input record class.
      Parameters:
      payload - the value for the payload record component
      sourcePage - the value for the sourcePage record component
      isMultipleRows - the value for the isMultipleRows record component
      countRowsToFind - the value for the countRowsToFind record component
      elementDatabase - the value for the elementDatabase record component
      metadataInjectionProcess - the value for the metadataInjectionProcess record component
  • Method Details

    • equals

      public 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • hashCode

      public 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
    • toString

      public 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
    • payload

      public String payload()
      Returns the value of the payload record component.
      Returns:
      the value of the payload record component
    • sourcePage

      public String[] sourcePage()
      Returns the value of the sourcePage record component.
      Returns:
      the value of the sourcePage record component
    • isMultipleRows

      public boolean isMultipleRows()
      Returns the value of the isMultipleRows record component.
      Returns:
      the value of the isMultipleRows record component
    • countRowsToFind

      public int countRowsToFind()
      Returns the value of the countRowsToFind record component.
      Returns:
      the value of the countRowsToFind record component
    • elementDatabase

      public AbstractElementDatabase elementDatabase()
      Returns the value of the elementDatabase record component.
      Returns:
      the value of the elementDatabase record component
    • metadataInjectionProcess

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