Package acdp.tools

Annotation Type Setup.SetupDatabase

Enclosing class:
Setup

@Retention(RUNTIME) public static @interface Setup.SetupDatabase
The @SetupDatabase annotation is used by the Setup Tool to get the name of the database and the names of the database's tables. Optionally, values for the version of the database and for the class name and classpath of the cipher factory can be specified.

Note that the order of the table names in the "tables" array must be the same as the order in which the tables appear in the open method of the CustomDatabase class. It is the same order in which the table layouts appear in the resulting database layout.

This annotation is exclusively processed by the Setup Tool.

Author:
Beat Hörmann
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the database.
    The database's tables in proper order.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The optional version of the database.
  • Element Details

    • name

      String name
      The name of the database.
      Returns:
      The name of the database.
    • version

      String version
      The optional version of the database.
      Returns:
      The version of the database.
      Default:
      ""
    • tables

      String[] tables
      The database's tables in proper order.
      Returns:
      The database's tables in proper order.