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 aExecuteJdbcQueryModel
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the value of theavoidLocking
record component.Returns the value of thedatasource
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.query()
Returns the value of thequery
record component.Returns the value of thequeryType
record component.Returns the value of theresultType
record component.final String
toString()
Returns a string representation of this record class.boolean
Returns the value of thetrimSpaces
record component.
-
Constructor Details
-
ExecuteJdbcQueryModel
public ExecuteJdbcQueryModel(String datasource, String query, String resultType, String queryType, boolean avoidLocking, boolean trimSpaces) Creates an instance of aExecuteJdbcQueryModel
record class.- Parameters:
datasource
- the value for thedatasource
record componentquery
- the value for thequery
record componentresultType
- the value for theresultType
record componentqueryType
- the value for thequeryType
record componentavoidLocking
- the value for theavoidLocking
record componenttrimSpaces
- the value for thetrimSpaces
record 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 thedatasource
record component.- Returns:
- the value of the
datasource
record component
-
query
Returns the value of thequery
record component.- Returns:
- the value of the
query
record component
-
resultType
Returns the value of theresultType
record component.- Returns:
- the value of the
resultType
record component
-
queryType
Returns the value of thequeryType
record component.- Returns:
- the value of the
queryType
record component
-
avoidLocking
public boolean avoidLocking()Returns the value of theavoidLocking
record component.- Returns:
- the value of the
avoidLocking
record component
-
trimSpaces
public boolean trimSpaces()Returns the value of thetrimSpaces
record component.- Returns:
- the value of the
trimSpaces
record component
-