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.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.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:
-