com.smartgwt.client.data

## Class DSLoadSettings

- java.lang.Object
- - com.smartgwt.client.core.JsObject
  - - com.smartgwt.client.core.DataClass
    - - com.smartgwt.client.data.DSLoadSettings

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers

      public class DSLoadSettings
      extends DataClass

  Settings to control optional `DataSource loading` features.
  See Also:
    `DataSource.load(java.lang.String, com.smartgwt.client.core.Function)`

- - ### Field Summary

    - ### Fields inherited from class com.smartgwt.client.core.DataClass

      `factoryCreated, factoryProperties`

    - ### Fields inherited from class com.smartgwt.client.core.JsObject

      `jsObj`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DSLoadSettings()`
    `DSLoadSettings(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Boolean` | `getForceReload()` Forcibly reload a dataSource if it's already loaded.
    `java.lang.Boolean` | `getLoadParents()` Load parent DataSources
    `java.lang.Boolean` | `getMockMode()` Place loaded DataSource into `mockMode`
    `static DSLoadSettings` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `DSLoadSettings` | `setForceReload(java.lang.Boolean forceReload)` Forcibly reload a dataSource if it's already loaded.
    `DSLoadSettings` | `setLoadParents(java.lang.Boolean loadParents)` Load parent DataSources
    `DSLoadSettings` | `setMockMode(java.lang.Boolean mockMode)` Place loaded DataSource into `mockMode`

    - ### Methods inherited from class com.smartgwt.client.core.DataClass

      `applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, 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`

    - ### Methods inherited from class com.smartgwt.client.core.JsObject

      `equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DSLoadSettings

          public DSLoadSettings()

    - #### DSLoadSettings

          public DSLoadSettings(com.google.gwt.core.client.JavaScriptObject jsObj)

  - ### Method Detail

    - #### getOrCreateRef

          public static DSLoadSettings getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setForceReload

          public DSLoadSettings setForceReload(java.lang.Boolean forceReload)

      Forcibly reload a dataSource if it's already loaded.
      Parameters:
        `forceReload` - New forceReload value. Default value is null
      Returns:
        `DSLoadSettings` instance, for chaining setter calls

    - #### getForceReload

          public java.lang.Boolean getForceReload()

      Forcibly reload a dataSource if it's already loaded.
      Returns:
        Current forceReload value. Default value is null

    - #### setLoadParents

          public DSLoadSettings setLoadParents(java.lang.Boolean loadParents)

      Load parent DataSources
      Parameters:
        `loadParents` - New loadParents value. Default value is null
      Returns:
        `DSLoadSettings` instance, for chaining setter calls

    - #### getLoadParents

          public java.lang.Boolean getLoadParents()

      Load parent DataSources
      Returns:
        Current loadParents value. Default value is null

    - #### setMockMode

          public DSLoadSettings setMockMode(java.lang.Boolean mockMode)

      Place loaded DataSource into `mockMode`
      Parameters:
        `mockMode` - New mockMode value. Default value is null
      Returns:
        `DSLoadSettings` instance, for chaining setter calls

    - #### getMockMode

          public java.lang.Boolean getMockMode()

      Place loaded DataSource into `mockMode`
      Returns:
        Current mockMode value. Default value is null