Add 'exclusive' boolean attribute to @DecimalMin/@DecimalMax constraints

Description

Hi, may I suggest to enhance @DecimalMin/@DecimalMax constraints with additional exclusive boolean attribute? This would allow to define a constraints like:

This makes sense when dealing with decimal numbers where one might want to allow a number regardless of the precision.
@DecimalMin("0.0001") vs. @DecimalMin("0.000000001"), etc.

To maintain backward compatibility, default value for new exclusive boolean attribute should be false

Environment

Hibernate Validator 4.0.0.GA

Assignee

Hardy Ferentschik

Reporter

Jaro Kuruc

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure