Package tigase.db

Annotation Interface Repository.Meta

Enclosing interface:
Repository

@Retention(RUNTIME) @Target(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
    Description
    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
    Description
    boolean
    Is it default implementation for supported URIs?
  • Element Details

    • supportedUris

      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

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