Annotation Interface FromDataSource


@Target(TYPE) @Retention(RUNTIME) public @interface FromDataSource
Indicates that a model should use a specific data source for its storage. If the value is not specified, the default data source, which is the file database, will be used. The value should match the id of a data source defined using the DataSource annotation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The id of the data source to be used by the model.
  • Element Details

    • value

      String value
      The id of the data source to be used by the model. If not specified, the default data source will be used. The value should match the id of a data source defined using the DataSource annotation.
      Default:
      ""