Annotation Interface Digits
数値フォーマット指定を表わすアノテーション。
 
   BigDecimalConvertor, LongConvertor, IntegerConvertorを使用する場合は、
   本アノテーションの設定が必須である。
  
   整数部1桁、小数部なしの場合は次のようにsetterに設定する。
   
     @PropertyName("認証失敗回数")
     @Required
     @NumberRange(min = 0, max = 9)
     @Digits(integer = 1, fraction = 0)
     public void setFailedCount(Integer failedCount) {
         this.failedCount = failedCount;
     }
   
   バリデーションの詳細は、各コンバータの仕様を参照。
 - 
Required Element SummaryRequired Elements
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionbooleanカンマ編集可否。int小数部桁数変換失敗時のメッセージID。
- 
Element Details- 
integerint integer整数部桁数。
 
- 
- 
- 
fractionint fraction小数部桁数- Default:
- 0
 
- 
commaSeparatedboolean commaSeparatedカンマ編集可否。デフォルトは true(カンマ編集可)- Default:
- true
 
- 
messageIdString messageId変換失敗時のメッセージID。- Default:
- ""
 
 
-