range
目的 Purpose
Uses a Groovy range to ensure that a property's value is within a specified range使用例 Examples
age range: 18..65
詳細 Description
Set to a Groovy range which can contain numbers in the form of an IntRange
, dates or any object that implements Comparable
and provides next
and previous
methods for navigation.This constraint influences schema generation.Error Code: className.propertyName.range.toosmall
or className.propertyName.range.toobig