Package com.onec.annotations
Annotation Interface Document
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanintString[]Former names of this document (previousname()ortableName()values), so the schema upgrader can rename the existing tables — the document table and its tabular-section tables, keeping their data — instead of creating fresh empty ones.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 document (previousname()ortableName()values), so the schema upgrader can rename the existing tables — the document table and its tabular-section tables, keeping their data — instead of creating fresh empty ones. Each value is tried both through the naming strategy and verbatim as a table name. Keep at least the most recent former name until every deployment has migrated.- Default:
{}
-
numberLength
int numberLength- Default:
11
-
autoNumber
boolean autoNumber- Default:
true
-
numberPrefix
String numberPrefix- Default:
""
-
context
String context- Default:
""
-