Package com.smartgwt.client.ai
Class SummarizeValueExample
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.ai.SummarizeValueExample
- All Implemented Interfaces:
HasHandlers
An example to provide to AI.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SummarizeValueExample
getOrCreateRef
(JavaScriptObject jsObj) The example summary of thevalue
.getValue()
The example value.setSummary
(String summary) The example summary of thevalue
.The example value.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
-
SummarizeValueExample
public SummarizeValueExample() -
SummarizeValueExample
-
-
Method Details
-
getOrCreateRef
-
setRecord
- Parameters:
record
- New record value. Default value is null- Returns:
SummarizeValueExample
instance, for chaining setter calls
-
getRecord
- Returns:
- Current record value. Default value is null
-
setSummary
The example summary of thevalue
.- Parameters:
summary
- New summary value. Default value is null- Returns:
SummarizeValueExample
instance, for chaining setter calls
-
getSummary
The example summary of thevalue
.- Returns:
- Current summary value. Default value is null
-
setValue
The example value. Must be of the same type as theSummarizeValueRequest.valueType
.Note: A current limitation is that the
valueType
must be TEXT (ornull
).- Parameters:
value
- New value value. Default value is null- Returns:
SummarizeValueExample
instance, for chaining setter calls
-
getValue
The example value. Must be of the same type as theSummarizeValueRequest.valueType
.Note: A current limitation is that the
valueType
must be TEXT (ornull
).- Returns:
- Current value value. Default value is null
-