パッケージ | 説明 |
---|---|
jp.sourceforge.masasa.architecture.framework.validation.enumeration |
入力チェックに利用する列挙群を定義します.
|
jp.sourceforge.masasa.architecture.framework.validation.validator |
入力チェック・クラス群を定義します.
|
修飾子とタイプ | フィールドと説明 |
---|---|
private IValidator |
CheckRulesEnum.clz
バリデーションインスタンス.
|
修飾子とタイプ | メソッドと説明 |
---|---|
IValidator |
CheckRulesEnum.getInstance()
インスタンス化されているオブジェクトを返却します.
|
コンストラクタと説明 |
---|
CheckRulesEnum(Class<? extends IValidator> clz)
コンストラクタ.
|
修飾子とタイプ | クラスと説明 |
---|---|
class |
ValidateByte
Checks if the field can safely be converted to a byte primitive.
|
class |
ValidateCreditCard
Checks if the field is a valid credit card number.
|
class |
ValidateDate
Checks if the field is a valid date.
|
class |
ValidateDouble
Checks if the field can safely be converted to a double primitive.
|
class |
ValidateDoubleRange
Checks if a fields value is within a range (min & max specified in the vars attribute).
|
class |
ValidateEmail
Checks if a field has a valid e-mail address.
|
class |
ValidateFloat
Checks if the field can safely be converted to a float primitive.
|
class |
ValidateFloatRange
Checks if a fields value is within a range (min & max specified in the vars attribute).
|
class |
ValidateInteger
Checks if the field can safely be converted to an int primitive.
|
class |
ValidateIntRange
Checks if a fields value is within a range (min & max specified in the vars attribute).
|
class |
ValidateLong
Checks if the field can safely be converted to a long primitive.
|
class |
ValidateMask
Checks if the field matches the regular expression in the field's mask attribute.
|
class |
ValidateMaxLength
Checks if the field's length is less than or equal to the maximum value.
|
class |
ValidateMinLength
Checks if the field's length is greater than or equal to the minimum value.
|
class |
ValidateRequired
Checks if the field isn't null and length of the field is greater than zero not including whitespace.
|
class |
ValidateRequiredIf
Checks if the field isn't null based on the values of other fields.
|
class |
ValidateShort
Checks if the field can safely be converted to a short primitive.
|
class |
ValidateUrl
Checks if a field has a valid url.
|