Annotations#
Package: com.palmyralabs.palmyra.base.annotations. Declarative configuration for routing, schema mapping, and access control.
| Annotation | Target | Purpose |
|---|---|---|
| @PalmyraType | TYPE | Map a POJO to a DB table |
| @PalmyraField | FIELD | Column mapping, sort/search flags, validation |
| @PalmyraIgnore | FIELD | Exclude a field from processing |
| @CrudMapping | TYPE | Bind a handler to URL(s) and an entity type |
| @ActionMapping | TYPE | Bind a handler to action(s) |
| @Permission | TYPE | Declare CRUD / export permissions |
| @PalmyraMappingConfig | TYPE | Group unique/foreign-key declarations |
| @PalmyraForeignKey | TYPE | Foreign-key declaration |
| @PalmyraUniqueKey | TYPE | Unique-key declaration |
| @FetchConfig | FIELD | Per-field fetch strategy |