public class DataQuestionSettings extends DataClass
factoryCreated, factoryProperties
Constructor and Description |
---|
DataQuestionSettings() |
DataQuestionSettings(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationPurpose()
A human-readable (and thus AI-readable) description of the purpose of the application.
|
java.lang.String[] |
getDataSourceNames()
The IDs of available data sources.
|
java.lang.Integer |
getMaxFixAttempts()
The maximum number of attempts to have AI generate valid code and/or data.
|
static DataQuestionSettings |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.util.Date |
getReferenceTime()
The reference date & time considered to be the present.
|
DataQuestionSettings |
setApplicationPurpose(java.lang.String applicationPurpose)
A human-readable (and thus AI-readable) description of the purpose of the application.
|
DataQuestionSettings |
setDataSourceNames(java.lang.String... dataSourceNames)
The IDs of available data sources.
|
DataQuestionSettings |
setMaxFixAttempts(java.lang.Integer maxFixAttempts)
The maximum number of attempts to have AI generate valid code and/or data.
|
DataQuestionSettings |
setReferenceTime(java.util.Date referenceTime)
The reference date & time considered to be the present.
|
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
public DataQuestionSettings()
public DataQuestionSettings(com.google.gwt.core.client.JavaScriptObject jsObj)
public static DataQuestionSettings getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public DataQuestionSettings setApplicationPurpose(java.lang.String applicationPurpose)
applicationPurpose
- New applicationPurpose value. Default value is nullDataQuestionSettings
instance, for chaining setter callspublic java.lang.String getApplicationPurpose()
public DataQuestionSettings setDataSourceNames(java.lang.String... dataSourceNames)
dataSourceNames
- New dataSourceNames value. Default value is nullDataQuestionSettings
instance, for chaining setter callsGlobalId
public java.lang.String[] getDataSourceNames()
GlobalId
public DataQuestionSettings setMaxFixAttempts(java.lang.Integer maxFixAttempts)
maxFixAttempts
- New maxFixAttempts value. Default value is nullDataQuestionSettings
instance, for chaining setter callspublic java.lang.Integer getMaxFixAttempts()
public DataQuestionSettings setReferenceTime(java.util.Date referenceTime)
If not provided, then the current date & time is used.
referenceTime
- New referenceTime value. Default value is nullDataQuestionSettings
instance, for chaining setter callspublic java.util.Date getReferenceTime()
If not provided, then the current date & time is used.