org.apache.commons.validator
クラス Var

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

public class Var
extends Object
implements Cloneable, Serializable

variable (このクラス)は入れ替え可能な妥当性チェックの情報を持つ Field と関連付けることができます。

A variable can be associate with a Field for passing in information to a pluggable validator.

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

フィールドの概要
private  String jsType
          The optional JavaScript type of the variable.
static String JSTYPE_INT
          Int Constant for JavaScript type.
static String JSTYPE_REGEXP
          Regular Expression Constant for JavaScript type.
static String JSTYPE_STRING
          String Constant for JavaScript type.
private  String name
          The name of the variable.
private  String value
          The name of the value.
 
コンストラクタの概要
Var()
           
Var(String name, String value, String jsType)
           
 
メソッドの概要
 Object clone()
          Creates and returns a copy of this object.
 String getJsType()
          Gets the JavaScript type of the variable.
 String getName()
          Gets the name of the variable.
 String getValue()
          Gets the value of the variable.
 void setJsType(String jsType)
          Sets the JavaScript type of the variable.
 void setName(String name)
          Sets the name of the variable.
 void setValue(String value)
          Sets the value of the variable.
 String toString()
          Returns a string representation of the object.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

JSTYPE_INT

public static final String JSTYPE_INT
Int Constant for JavaScript type. This can be used when auto-generating JavaScript.

関連項目:
定数フィールド値

JSTYPE_STRING

public static final String JSTYPE_STRING
String Constant for JavaScript type. This can be used when auto-generating JavaScript.

関連項目:
定数フィールド値

JSTYPE_REGEXP

public static final String JSTYPE_REGEXP
Regular Expression Constant for JavaScript type. This can be used when auto-generating JavaScript.

関連項目:
定数フィールド値

name

private String name
The name of the variable.


value

private String value
The name of the value.


jsType

private String jsType
The optional JavaScript type of the variable.

コンストラクタの詳細

Var

public Var()

Var

public Var(String name,
           String value,
           String jsType)
メソッドの詳細

getName

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


setName

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


getValue

public String getValue()
Gets the value of the variable.


setValue

public void setValue(String value)
Sets the value of the variable.


getJsType

public String getJsType()
Gets the JavaScript type of the variable.


setJsType

public void setJsType(String jsType)
Sets the JavaScript type of the variable.


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