|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface ActionErrors
アクションで発生したエラーを保持するクラス。
| メソッドの概要 | |
|---|---|
void |
add(String message)
メッセージを追加します。 |
void |
add(String message,
FieldInfo... fieldInfo)
メッセージを追加します。 |
void |
add(String message,
String... fieldNames)
メッセージを追加します。 |
void |
clear()
エラーをクリアします。 |
List<String> |
getAll()
アクションで発生した全てのエラーの一覧を取得します。 |
Map<String,List<String>> |
getFields()
フィールドで発生したエラーの一覧を取得します。 |
Map<String,Map<Integer,List<String>>> |
getIndexedFields()
インデックス付きフィールドで発生したエラーの一覧を取得します。 |
List<String> |
getOthers()
フィールド以外で発生したエラーの一覧を取得します。 |
boolean |
isEmpty()
エラーが存在しないかどうかを判定します。 |
| メソッドの詳細 |
|---|
boolean isEmpty()
void add(String message)
message - メッセージ
void add(String message,
FieldInfo... fieldInfo)
message - メッセージfieldInfo - フィールド情報
void add(String message,
String... fieldNames)
message - メッセージfieldNames - フィールド名List<String> getAll()
Map<String,List<String>> getFields()
Map<String,Map<Integer,List<String>>> getIndexedFields()
List<String> getOthers()
void clear()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||