Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @NotNull annotation to methods to improve documentation #78

Closed
jeaf-anaptecs opened this issue Feb 27, 2024 · 0 comments · Fixed by #234
Closed

Add @NotNull annotation to methods to improve documentation #78

jeaf-anaptecs opened this issue Feb 27, 2024 · 0 comments · Fixed by #234
Assignees
Labels
feature New feature

Comments

@jeaf-anaptecs
Copy link
Contributor

jeaf-anaptecs commented Feb 27, 2024

Feature Description

Add @NotNull annotation to generated operations. This will not have any impact on the acctual implementation, but from a documentation perspective this make the expectations clear to users of such an operation.

Concrete type of the not null annotation should be configured in Maven configuration e.g. jakarta.annotation.Nonnull

Requirements

  • Service Interfaces
  • POJOs /ServiceObjects
    • SoftLink, Associations, Properties
    • get, set
    • Builder setters
    • custom operations
  • NotNull for single value properties, NotEmpty for multivalue properties
  • Nullable annotation for single valued properties, associations etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant