Skip to content

Commit

Permalink
docs: semantic annotations' functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangsa committed Aug 14, 2022
1 parent 86e54d8 commit 25b59a3
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions plugins/jdl-backend-application-default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@ This is the long description

## JDL Extensions/Customizations

| **Annotation** | **@Persistence** | **Repository** | **Id** |
|:--------------------------------|:-----------------|:---------------|:-------|
| **entity** | yes | | yes |
| **@aggregate** | yes | yes | yes |
| **@embedded** | yes | | |
| **@vo** | | | |
| **@searchCriteria(entityName)** | | | |
This generator supports the following JDL extensions:

- if any entity is annotated with @aggregate then the following table applies:

| **Annotation** | **Entity** | **@Persistence** | **Repository** | **Id** |
|:--------------------------------|------------|:-----------------|:---------------|:-------|
| **entity** | yes | yes | | yes |
| **@aggregate** | yes | yes | yes | yes |
| **@embedded** | yes | yes | | |
| **@vo** | yes | | | |
| **@searchCriteria(entityName)** | yes | | | |
| **@skip** | no | | | |

**@searchCriteria(entityName)** is used to specify the entity name for the search criteria, if empty will take the same fields as the actual entity.
**@skip** entities used as search criteria should be marked with @skip

## Options

Expand Down

0 comments on commit 25b59a3

Please sign in to comment.