Annotation Interface Catalog


@Retention(RUNTIME) @Target(TYPE) public @interface Catalog
  • Element Details

    • name

      String name
    • title

      String title
      Human-facing display label, distinct from the URL-safe name() identity. Use it for localized or multi-word titles (e.g. "Заказы поставщикам") while keeping name ASCII and space-free so routes stay clean. Surfaces in the UI metadata and is used for nav items, list/detail headings and tab titles. When empty, falls back to name().
      Default:
      ""
    • tableName

      String tableName
      Stable DB table name. When empty, derived from name().
      Default:
      ""
    • previousNames

      String[] previousNames
      Former names of this catalog (previous name() or tableName() values), so the schema upgrader can rename the existing table — keeping its data — instead of creating a fresh empty one. Each value is tried both through the naming strategy ("Products"catalog_products) and verbatim as a table name. Keep at least the most recent former name until every deployment has migrated.
      Default:
      {}
    • codeLength

      int codeLength
      Default:
      9
    • hierarchical

      boolean hierarchical
      Default:
      false
    • autoNumber

      boolean autoNumber
      Default:
      true
    • codePrefix

      String codePrefix
      Default:
      ""
    • context

      String context
      Default:
      ""