tigase.db

## Annotation Type Repository.Meta

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

  Meta created to add possibility to retrieve information about implementation of repository (ie. supported database URI)

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String[]` | `supportedUris` Method returns and array of strings with regexps matching URIs which are supported by annotated class.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `isDefault` Is it default implementation for supported URIs?

- - ### Element Detail

    - #### supportedUris

          public abstract String[] supportedUris

      Method returns and array of strings with regexps matching URIs which are supported by annotated class.
      Returns:
        string array of regular expressions

  - - #### isDefault

          public abstract boolean isDefault

      Is it default implementation for supported URIs?
      Returns:
        true if yes
      Default:
        false

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