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

Pattern of classes in com.redhat.lightblue.metadata.rdbms.enums #62

Open
bserdar opened this issue Oct 17, 2014 · 0 comments
Open

Pattern of classes in com.redhat.lightblue.metadata.rdbms.enums #62

bserdar opened this issue Oct 17, 2014 · 0 comments

Comments

@bserdar
Copy link
Contributor

bserdar commented Oct 17, 2014

Why do these enum classes declared as regular classes, and use com.redhat.lightblue.metadata.Enum? metadata.Enum has a very specific usage: it is used to define enums in entity fields, it is not used to define enumerated values in code. These classes should be rewritten as "public enum", and dependencies on metadata.enum should be removed.

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