Class BuildAIFieldRequestRequest

All Implemented Interfaces:
HasHandlers

public class BuildAIFieldRequestRequest extends BuildViaAIRequest
Builds an AIFieldRequest from a UserAIRequest containing a natural language description of the per-record values to generate for a new AI-generated field.
See Also:
  • Constructor Details

    • BuildAIFieldRequestRequest

      public BuildAIFieldRequestRequest()
    • BuildAIFieldRequestRequest

      public BuildAIFieldRequestRequest(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static BuildAIFieldRequestRequest getOrCreateRef(JavaScriptObject jsObj)
    • setComponent

      public BuildAIFieldRequestRequest setComponent(DataBoundComponent component)
      If specified, the DataBoundComponent that will display the AI-generated field.

      The component should be bound to the same dataSource of the request or a DataSource inheriting from it.

      Parameters:
      component - New component value. Default value is null
      Returns:
      BuildAIFieldRequestRequest instance, for chaining setter calls
    • getComponent

      public DataBoundComponent getComponent()
      If specified, the DataBoundComponent that will display the AI-generated field.

      The component should be bound to the same dataSource of the request or a DataSource inheriting from it.

      Returns:
      Current component value. Default value is null
    • setDataSource

      public BuildAIFieldRequestRequest setDataSource(DataSource dataSource)
      The DataSource that the AI-generated field will be considered to augment.

      If component is also specified, then the component should be bound to the same DataSource or a DataSource inheriting from it.

      Parameters:
      dataSource - New dataSource value. Default value is null
      Returns:
      BuildAIFieldRequestRequest instance, for chaining setter calls
    • getDataSource

      public DataSource getDataSource()
      The DataSource that the AI-generated field will be considered to augment.

      If component is also specified, then the component should be bound to the same DataSource or a DataSource inheriting from it.

      Returns:
      Current dataSource value. Default value is null
    • setShowProgressDialog

      public BuildAIFieldRequestRequest setShowProgressDialog(Boolean showProgressDialog)
      Whether to show a progress dialog to inform the user about the processing of the build-request.

      The default value is false.

      Overrides:
      setShowProgressDialog in class BuildViaAIRequest
      Parameters:
      showProgressDialog - New showProgressDialog value. Default value is false
      Returns:
      BuildAIFieldRequestRequest instance, for chaining setter calls
    • getShowProgressDialog

      public Boolean getShowProgressDialog()
      Whether to show a progress dialog to inform the user about the processing of the build-request.

      The default value is false.

      Overrides:
      getShowProgressDialog in class BuildViaAIRequest
      Returns:
      Current showProgressDialog value. Default value is false