eliezerb
eliezerb

Reputation: 47

@ValueRangeProvider annotation on a Planning Entity field

When defining the @ValueRangeProvider annotation on a Planning Entity, can I put it on the field, or is it only supported on the getter method?

Upvotes: 0

Views: 93

Answers (1)

Geoffrey De Smet
Geoffrey De Smet

Reputation: 27312

Any annotation that works on a method should also work on a field. If it doesn't, create an RFE jira, it is a clear API gap that we would like to fix.

Like Lukas said, just try it. And paste the code you tried here if it doesn't work :)

Upvotes: 1

Related Questions