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
idFields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf successful, the generatedAdvancedCriteriafor the user's natural language description of a filter.static BuildCriterionResponsegetOrCreateRef(JavaScriptObject jsObj) setCriterion(AdvancedCriteria criterion) If successful, the generatedAdvancedCriteriafor 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, setTypeMethods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetIDMethods 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 generatedAdvancedCriteriafor the user's natural language description of a filter.- Parameters:
criterion- New criterion value. Default value is null- Returns:
BuildCriterionResponseinstance, for chaining setter calls
-
getCriterion
If successful, the generatedAdvancedCriteriafor the user's natural language description of a filter.- Returns:
- Current criterion value. Default value is null
-