Package tigase.db

Annotation Type Repository.Meta


  • @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
      java.lang.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 Description
      boolean isDefault
      Is it default implementation for supported URIs?
    • Element Detail

      • supportedUris

        java.lang.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