Package com.onec.annotations
Annotation Interface Catalog
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanintbooleanString[]Former names of this catalog (previousname()ortableName()values), so the schema upgrader can rename the existing table — keeping its data — instead of creating a fresh empty one.Stable DB table name.Human-facing display label, distinct from the URL-safename()identity.
-
Element Details
-
name
String name -
title
String titleHuman-facing display label, distinct from the URL-safename()identity. Use it for localized or multi-word titles (e.g."Заказы поставщикам") while keepingnameASCII 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 toname().- Default:
""
-
tableName
String tableNameStable DB table name. When empty, derived fromname().- Default:
""
-
previousNames
String[] previousNamesFormer names of this catalog (previousname()ortableName()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:
""
-