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

[maven-plugin] Prefix to use number based columns as enum constants #26

Open
tcmj opened this issue Apr 5, 2018 · 0 comments
Open

[maven-plugin] Prefix to use number based columns as enum constants #26

tcmj opened this issue Apr 5, 2018 · 0 comments
Labels
feature New Feature or Improvement

Comments

@tcmj
Copy link
Owner

tcmj commented Apr 5, 2018

description

a enum value has to begin with a alphanumeric value and not a number
we need a prefix option

example

|0100|foo|
|0200|bar|

what we need

  • we could simply use a naming strategy with a fixed prefix like NO_
  • we could add a new config property to prefix the constants
  • ...

usecases

  • overcome the restriction of: numbers are not allowed as java enum constants
  • use numerics as constants like country code, field numbers, and so on
@tcmj tcmj added the feature New Feature or Improvement label Apr 5, 2018
@tcmj tcmj changed the title Prefix for number based columns [maven-plugin] Prefix to use number based columns as enum constants Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Feature or Improvement
Projects
None yet
Development

No branches or pull requests

1 participant