org.apache.commons.validator
クラス Msg

java.lang.Object
  拡張org.apache.commons.validator.Msg
すべての実装インタフェース:
Cloneable, Serializable

public class Msg
extends Object
implements Cloneable, Serializable

代換メッセージ(このクラス)は Field と関連付けられ ValidatorAction(入れ替え可能な妥当性チェック)に設定されたデフォルトメッセージの代わりに使用されます。

An alternative message can be associated with a Field and a pluggable validator instead of using the default message stored in the ValidatorAction (aka pluggable validator).

バージョン:
$Revision: 1.1.1.1 $ $Date: 2004/02/13 10:02:01 $
作成者:
David Winterfeldt
関連項目:
直列化された形式
翻訳者:
日置 聡
翻訳状況:
中断(訳者募集中)
翻訳更新日:
2003/07/28

フィールドの概要
protected  String key
          The key or value of the argument.
protected  String name
          The name dependency that this argument goes with (optional).
 
コンストラクタの概要
Msg()
           
 
メソッドの概要
 Object clone()
          Creates and returns a copy of this object.
 String getKey()
          Gets the key/value.
 String getName()
          Gets the name of the dependency.
 void setKey(String key)
          Sets the key/value.
 void setName(String name)
          Sets the name of the dependency.
 String toString()
          Returns a string representation of the object.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

name

protected String name
The name dependency that this argument goes with (optional).


key

protected String key
The key or value of the argument.

コンストラクタの詳細

Msg

public Msg()
メソッドの詳細

getName

public String getName()
Gets the name of the dependency.


setName

public void setName(String name)
Sets the name of the dependency.


getKey

public String getKey()
Gets the key/value.


setKey

public void setKey(String key)
Sets the key/value.


clone

public Object clone()
Creates and returns a copy of this object.


toString

public String toString()
Returns a string representation of the object.



このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation