必須:文字以外 ( RequiredFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
key | String | error.msg | 異常文言 |
必須:文字 ( RequiredStringValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
trim | boolean | true | 空白除去 |
key | String | error.msg | 異常文言 |
正規表現 ( RegexFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
trim | boolean | true | 空白除去 |
regex | String | .* | 正規表現 |
key | String | error.msg | 異常文言 |
文字列 ( StringLengthFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
trim | boolean | true | 空白除去 |
minLength | String | 2015 | 最小設定 |
maxLength | String | 2015 | 最大設定 |
key | String | error.msg | 異常文言 |
日付 ( DateRangeFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
min | String | 2015/05/30 | 最小設定 |
max | String | 2015/05/30 | 最大設定 |
dateFormat | String | yyyy/MM/dd | 入力形式 |
key | String | error.msg | 異常文言 |
整数 2byte ( ShortRangeFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
min | String | 2015 | 最小設定 |
max | String | 2015 | 最大設定 |
key | String | error.msg | 異常文言 |
整数 4byte ( IntRangeFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
min | String | 2015 | 最小設定 |
max | String | 2015 | 最大設定 |
key | String | error.msg | 異常文言 |
浮動少数 ( DoubleRangeFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
min | String | 2015 | 最小設定 |
max | String | 2015 | 最大設定 |
key | String | error.msg | 異常文言 |
URL形式 ( UrlValidator.class)
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
key | String | error.msg | 異常文言 |
メール形式 ( EmailValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
key | String | error.msg | 異常文言 |
特殊:直接 ( FieldExpressionValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
key | String | error.msg | 異常文言 |
expression | String | fd1 == fd2 | チェック |
特殊:別クラス ( CustomValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
key | String | error.msg | 異常文言 |
type | String | o1Valid | チェック |
値変換 ( ConversionErrorFieldValidator.class )
name(ognl) | paramType | example | note |
---|---|---|---|
fieldName | String | birthday | 項目名称 |
key | String | error.msg | 異常文言 |