Package com.smartgwt.client.ai
Class DataQuestionSettings
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.ai.DataQuestionSettings
- All Implemented Interfaces:
HasHandlers
Settings for a data question.
- See Also:
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA human-readable (and thus AI-readable) description of the purpose of the application.String[]
The IDs of available data sources.The maximum number of attempts to have AI generate valid code and/or data.static DataQuestionSettings
getOrCreateRef
(JavaScriptObject jsObj) setApplicationPurpose
(String applicationPurpose) A human-readable (and thus AI-readable) description of the purpose of the application.setDataSourceNames
(String... dataSourceNames) The IDs of available data sources.setMaxFixAttempts
(Integer maxFixAttempts) The maximum number of attempts to have AI generate valid code and/or data.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
DataQuestionSettings
public DataQuestionSettings() -
DataQuestionSettings
-
-
Method Details
-
getOrCreateRef
-
setApplicationPurpose
A human-readable (and thus AI-readable) description of the purpose of the application.- Parameters:
applicationPurpose
- New applicationPurpose value. Default value is null- Returns:
DataQuestionSettings
instance, for chaining setter calls
-
getApplicationPurpose
A human-readable (and thus AI-readable) description of the purpose of the application.- Returns:
- Current applicationPurpose value. Default value is null
-
setDataSourceNames
The IDs of available data sources.- Parameters:
dataSourceNames
- New dataSourceNames value. Default value is null- Returns:
DataQuestionSettings
instance, for chaining setter calls- See Also:
-
getDataSourceNames
The IDs of available data sources.- Returns:
- Current dataSourceNames value. Default value is null
- See Also:
-
setMaxFixAttempts
The maximum number of attempts to have AI generate valid code and/or data.- Parameters:
maxFixAttempts
- New maxFixAttempts value. Default value is null- Returns:
DataQuestionSettings
instance, for chaining setter calls
-
getMaxFixAttempts
The maximum number of attempts to have AI generate valid code and/or data.- Returns:
- Current maxFixAttempts value. Default value is null
-