org.seasar.cubby.validator
クラス ValidationContext

java.lang.Object
  上位を拡張 org.seasar.cubby.validator.ValidationContext

public class ValidationContext
extends Object

入力値のコンテキストオブジェクト

作成者:
agata

コンストラクタの概要
ValidationContext(String name, Object value, Map<String,Object> params, FormatPattern formatPattern)
          コンストラクタ
 
メソッドの概要
 FormatPattern getFormatPattern()
          日付フォーマットパターンを取得します。
 String getName()
          パラメータ名を取得します。
 Map<String,Object> getParams()
          入力パラメータの一覧を取得します。
 Object getValue()
          入力値を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ValidationContext

public ValidationContext(String name,
                         Object value,
                         Map<String,Object> params,
                         FormatPattern formatPattern)
コンストラクタ

パラメータ:
name - パラメータ名
value - 入力値
params - 入力パラメータの一覧
formatPattern - 日付フォーマットパターン
メソッドの詳細

getName

public String getName()
パラメータ名を取得します。

戻り値:
パラメータ名

getValue

public Object getValue()
入力値を取得します。

戻り値:
入力値

getParams

public Map<String,Object> getParams()
入力パラメータの一覧を取得します。

戻り値:
入力パラメータの一覧

getFormatPattern

public FormatPattern getFormatPattern()
日付フォーマットパターンを取得します。

戻り値:
日付フォーマットパターン


Copyright ツゥ 2006-2007 The Seasar Foundation and the others. All rights reserved.. All Rights Reserved.