Package com.smartgwt.client.ai
Class DataQuestion
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.ai.DataQuestion
- All Implemented Interfaces:
HasHandlers
Represents a data question and either the steps taken in attempting to answer it or the result.
- See Also:
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetID()
An arbitrary non-empty string that uniquely identifies the data question.static DataQuestion
getOrCreateRef
(JavaScriptObject jsObj) The result of the operation.The settings for the data question.The end-user's AI request.An arbitrary non-empty string that uniquely identifies the data question.setPrevStepResults
(DataQuestionStepResult... prevStepResults) setResult
(DataQuestionResult result) The result of the operation.setSettings
(DataQuestionSettings settings) The settings for the data question.setUserAIRequest
(UserAIRequest userAIRequest) The end-user's AI request.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
-
DataQuestion
public DataQuestion() -
DataQuestion
-
-
Method Details
-
getOrCreateRef
-
setID
An arbitrary non-empty string that uniquely identifies the data question. This is a required property.- Parameters:
ID
- New ID value. Default value is null- Returns:
DataQuestion
instance, for chaining setter calls
-
getID
An arbitrary non-empty string that uniquely identifies the data question. This is a required property.- Returns:
- Current ID value. Default value is null
-
setPrevStepResults
- Parameters:
prevStepResults
- New prevStepResults value. Default value is null- Returns:
DataQuestion
instance, for chaining setter calls
-
getPrevStepResults
- Returns:
- Current prevStepResults value. Default value is null
-
setResult
The result of the operation.- Parameters:
result
- New result value. Default value is null- Returns:
DataQuestion
instance, for chaining setter calls
-
getResult
The result of the operation.- Returns:
- Current result value. Default value is null
-
setSettings
The settings for the data question.- Parameters:
settings
- New settings value. Default value is null- Returns:
DataQuestion
instance, for chaining setter calls
-
getSettings
The settings for the data question.- Returns:
- Current settings value. Default value is null
-
setUserAIRequest
The end-user's AI request.- Parameters:
userAIRequest
- New userAIRequest value. Default value is null- Returns:
DataQuestion
instance, for chaining setter calls
-
getUserAIRequest
The end-user's AI request.- Returns:
- Current userAIRequest value. Default value is null
-