public class AnswerEngineOperation extends BaseClass
config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
AnswerEngineOperation() |
AnswerEngineOperation(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.Boolean |
getAutoShowResult()
Whether the result should be automatically shown to the user.
|
DataQuestion |
getDataQuestion()
The data question that is the subject of this Answer Engine operation.
|
DataSource[] |
getDataSources()
The array of available data sources.
|
com.google.gwt.core.client.JavaScriptObject |
getJsObj() |
java.lang.Integer |
getMaxRecordsPerQuery()
The maximum number of records that may be requested per query.
|
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj() |
static AnswerEngineOperation |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getShowNotify()
Whether to show a notify for this Answer Engine operation.
|
boolean |
isCreated() |
AnswerEngineOperation |
setAutoShowResult(java.lang.Boolean autoShowResult)
Whether the result should be automatically shown to the user.
|
AnswerEngineOperation |
setDataQuestion(DataQuestion dataQuestion)
The data question that is the subject of this Answer Engine operation.
|
AnswerEngineOperation |
setDataSources(DataSource... dataSources)
The array of available data sources.
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
AnswerEngineOperation |
setMaxRecordsPerQuery(java.lang.Integer maxRecordsPerQuery)
The maximum number of records that may be requested per query.
|
AnswerEngineOperation |
setShowNotify(java.lang.Boolean showNotify)
Whether to show a notify for this Answer Engine operation.
|
addDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setID, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassName
public AnswerEngineOperation()
public AnswerEngineOperation(com.google.gwt.core.client.JavaScriptObject jsObj)
public static AnswerEngineOperation getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class BaseClass
public com.google.gwt.core.client.JavaScriptObject create()
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in class BaseClass
public AnswerEngineOperation setAutoShowResult(java.lang.Boolean autoShowResult) throws java.lang.IllegalStateException
autoShowResult
- New autoShowResult value. Default value is falseAnswerEngineOperation
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getAutoShowResult()
public AnswerEngineOperation setDataQuestion(DataQuestion dataQuestion) throws java.lang.IllegalStateException
null
.dataQuestion
- New dataQuestion value. Default value is nullAnswerEngineOperation
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic DataQuestion getDataQuestion()
null
.public AnswerEngineOperation setDataSources(DataSource... dataSources) throws java.lang.IllegalStateException
dataSources
- New dataSources value. Default value is nullAnswerEngineOperation
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic DataSource[] getDataSources()
public AnswerEngineOperation setMaxRecordsPerQuery(java.lang.Integer maxRecordsPerQuery) throws java.lang.IllegalStateException
maxRecordsPerQuery
- New maxRecordsPerQuery value. Default value is 15AnswerEngineOperation
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Integer getMaxRecordsPerQuery()
public AnswerEngineOperation setShowNotify(java.lang.Boolean showNotify) throws java.lang.IllegalStateException
If autoShowResult
is also enabled, the notify will be
dismissed when the result is shown.
showNotify
- New showNotify value. Default value is falseAnswerEngineOperation
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getShowNotify()
If autoShowResult
is also enabled, the notify will be
dismissed when the result is shown.