Record Class ExecuteJdbcQuery.ExecuteJdbcQueryModel
java.lang.Object
java.lang.Record
org.frankframework.console.controllers.ExecuteJdbcQuery.ExecuteJdbcQueryModel
- Enclosing class:
ExecuteJdbcQuery
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteJdbcQueryModel(String datasource, String query, String resultType, String queryType, boolean avoidLocking, boolean trimSpaces) Creates an instance of aExecuteJdbcQueryModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theavoidLockingrecord component.Returns the value of thedatasourcerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.query()Returns the value of thequeryrecord component.Returns the value of thequeryTyperecord component.Returns the value of theresultTyperecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetrimSpacesrecord component.
-
Constructor Details
-
ExecuteJdbcQueryModel
public ExecuteJdbcQueryModel(String datasource, String query, String resultType, String queryType, boolean avoidLocking, boolean trimSpaces) Creates an instance of aExecuteJdbcQueryModelrecord class.- Parameters:
datasource- the value for thedatasourcerecord componentquery- the value for thequeryrecord componentresultType- the value for theresultTyperecord componentqueryType- the value for thequeryTyperecord componentavoidLocking- the value for theavoidLockingrecord componenttrimSpaces- the value for thetrimSpacesrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
datasource
Returns the value of thedatasourcerecord component.- Returns:
- the value of the
datasourcerecord component
-
query
Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord component
-
resultType
Returns the value of theresultTyperecord component.- Returns:
- the value of the
resultTyperecord component
-
queryType
Returns the value of thequeryTyperecord component.- Returns:
- the value of the
queryTyperecord component
-
avoidLocking
public boolean avoidLocking()Returns the value of theavoidLockingrecord component.- Returns:
- the value of the
avoidLockingrecord component
-
trimSpaces
public boolean trimSpaces()Returns the value of thetrimSpacesrecord component.- Returns:
- the value of the
trimSpacesrecord component
-