public static class DocumentManager.CustomValidateRequiredSwitchIndefinite extends KaidenAbstractValidator implements KaidenValidatorIF
「無期限」チェックがOFF
の場合に対象フィールド値が空の場合は判定:偽とします。
ARGS_DELIMITER, contextHelper, dateHelper, propertyHelper, validateMapHelper
コンストラクタと説明 |
---|
CustomValidateRequiredSwitchIndefinite()
コンストラクタ.
|
修飾子とタイプ | メソッドと説明 |
---|---|
KaidenValidateResult |
executeValidate(Map<String,Object> valueMap,
String fieldKey,
String[] args,
Map<String,String> surfaces)
バリデート処理.
|
boolean |
isValid(String value,
String indefinite)
処理種別整合性判定処理.
|
anyValueToSingleString, argsLengthCheck, chkPattern, getIntValue, getSurface, inputCheck, makeNewValidateResult, makeNewValidateResult, setErrorDetail
public CustomValidateRequiredSwitchIndefinite()
public boolean isValid(String value, String indefinite)
無期限チェックがOFF
の場合に対象フィールド値が空の場合は判定:偽とします。
value
- チェック対象データindefinite
- チェック対象無期限public KaidenValidateResult executeValidate(Map<String,Object> valueMap, String fieldKey, String[] args, Map<String,String> surfaces)
KaidenValidateExecutor
のexecuteAll
から実行されるバリデート処理です。
無期限チェックがOFF
の場合に対象フィールド値が空の場合は判定:偽とします。
executeValidate
インタフェース内 KaidenValidatorIF
valueMap
- 値fieldKey
- フィールドキーargs
- アーギュメント文字列surfaces
- 表層定義Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.