Package com.smartgwt.client.ai
Class BuildCriterionResponse
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.util.AsyncOperationResult
com.smartgwt.client.ai.BuildViaAIResponse
com.smartgwt.client.ai.BuildCriterionResponse
- All Implemented Interfaces:
HasHandlers
Represents a response to a request to build an
AdvancedCriteria
object from a natural
language description of a filter.-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
id
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf successful, the generatedAdvancedCriteria
for the user's natural language description of a filter.static BuildCriterionResponse
getOrCreateRef
(JavaScriptObject jsObj) setCriterion
(AdvancedCriteria criterion) If successful, the generatedAdvancedCriteria
for the user's natural language description of a filter.Methods inherited from class com.smartgwt.client.util.AsyncOperationResult
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setType
Methods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetID
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
-
BuildCriterionResponse
public BuildCriterionResponse() -
BuildCriterionResponse
-
-
Method Details
-
getOrCreateRef
-
setCriterion
If successful, the generatedAdvancedCriteria
for the user's natural language description of a filter.- Parameters:
criterion
- New criterion value. Default value is null- Returns:
BuildCriterionResponse
instance, for chaining setter calls
-
getCriterion
If successful, the generatedAdvancedCriteria
for the user's natural language description of a filter.- Returns:
- Current criterion value. Default value is null
-