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

Getters and fluent setters only #38

Open
nickel-bert opened this issue Apr 26, 2021 · 0 comments
Open

Getters and fluent setters only #38

nickel-bert opened this issue Apr 26, 2021 · 0 comments

Comments

@nickel-bert
Copy link

I would like to have the possibility to generate getters and fluent setters - but NO "normal" setters.
Furthermore, the method names of the fluent setters should conform to the JavaBeans Naming Conventions.
I don't want two different kind of setters.

Or is this already possible and I simply failed badly at adapting the configuration settings properly?
Thanks in advance!

Example:

public class Whatever {

   private String propertyA;
   
   public String getPropertyA() {
       return propertyA;
   }
   
   public Whatever setPropertyA(String propertyA) {
       this.propertyA = propertyA;
       return this;
   }

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant