Package com.jsql.model.suspendable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecountRowsToFindrecord component.Returns the value of theelementDatabaserecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.booleanReturns the value of theisMultipleRowsrecord component.Returns the value of themetadataInjectionProcessrecord component.payload()Returns the value of thepayloadrecord component.String[]Returns the value of thesourcePagerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Input
-
Input
public Input(String payload, String[] sourcePage, boolean isMultipleRows, int countRowsToFind, AbstractElementDatabase elementDatabase, String metadataInjectionProcess) Creates an instance of aInputrecord class.- Parameters:
payload- the value for thepayloadrecord componentsourcePage- the value for thesourcePagerecord componentisMultipleRows- the value for theisMultipleRowsrecord componentcountRowsToFind- the value for thecountRowsToFindrecord componentelementDatabase- the value for theelementDatabaserecord componentmetadataInjectionProcess- the value for themetadataInjectionProcessrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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. -
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. -
payload
Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-
sourcePage
Returns the value of thesourcePagerecord component.- Returns:
- the value of the
sourcePagerecord component
-
isMultipleRows
public boolean isMultipleRows()Returns the value of theisMultipleRowsrecord component.- Returns:
- the value of the
isMultipleRowsrecord component
-
countRowsToFind
public int countRowsToFind()Returns the value of thecountRowsToFindrecord component.- Returns:
- the value of the
countRowsToFindrecord component
-
elementDatabase
Returns the value of theelementDatabaserecord component.- Returns:
- the value of the
elementDatabaserecord component
-
metadataInjectionProcess
Returns the value of themetadataInjectionProcessrecord component.- Returns:
- the value of the
metadataInjectionProcessrecord component
-