title: Spring @Validated - with a super set of values
body: <p>I have a user input mapping class which has got a Boolean object: </p>
  
  <pre><code>...
      @ApiModelProperty(value = "Approval Status")
      @NotNull(message = "{workspace.isApproved.notNull}")
      private Boolean isApproved;
  ...
  </code></pre>
  
  <p>from the front end if user sends <code>123</code> as value of the <code>isApproved</code> it translates that as <code>true</code>, what I want to do it restrict the values to <code>0</code> and <code>1</code> i.e. there should a validation error if any other value is sent from the front end. </p>