tigase.db

## Annotation Type Repository.SchemaId

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
      public static @interface Repository.SchemaId

  Annotation provides information about schema (ie. database schema) required by annotated class.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `id` Method returns identifiers of a schema (ie. database schema) required by annotated class.
    `String` | `name` Method returns name of a schema required by annotated class. * Result of this method is intended to be displayed to the user.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `external` Method indicates whether schema definition is stored externally to the class (for example in `.sql` files.

- - ### Element Detail

    - #### id

          public abstract String id

      Method returns identifiers of a schema (ie. database schema) required by annotated class.
      Returns:
        id of a schema

  - - #### name

          public abstract String name

      Method returns name of a schema required by annotated class. *
      Result of this method is intended to be displayed to the user.
      Returns:
        name of a schema

  - - #### external

          public abstract boolean external

      Method indicates whether schema definition is stored externally to the class (for example in `.sql` files.
      Returns:
        true if the schema definitions are stored in `.sql` files.
      Default:
        true

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.