com.bankframe.fe.statemachine.ext.validation
Class Validate

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.validation.Validate

public final class Validate
extends java.lang.Object


Field Summary
static Validate FOR_NOTHING_EXTRA
           
 
Method Summary
static Validate forBooleanOnly()
          This method creates a Validate object for validating booleans only.
static Validate forDateOrTimeOnly(java.lang.String dateOrTimePattern)
          This method creates a Validate object for validating against a date or time.
static Validate forDigitsOnly()
          This method creates a Validate object for validating digits only.
static Validate forLettersOnly()
          This method creates a Validate object for validating letters only.
static Validate forLettersOrDigitsOnly()
          This method creates a Validate object for validating letters and digits only.
static Validate forNumberOnly()
          This method creates a Validate object for validating numbers only.
static Validate forNumberOnly(java.lang.String numberPattern)
          This method creates a Validate object for validating numbers only.
static Validate forRangeOnly(java.lang.Object minRangeValue, java.lang.Object maxRangeValue)
          This method creates a Validate object for validating ranges only.
static Validate forRangeOnly(java.lang.String numberPattern, java.lang.Object minRangeValue, java.lang.Object maxRangeValue)
          This method creates a Validate object for validating ranges only.
static Validate forValuesOnly(java.lang.String constantsKey)
          This method creates a Validate object for validating against the Constants values.
 java.lang.String getDateOrTimePattern()
          This method gets the dateOrTimePattern.
 java.lang.Object getMaxRangeValue()
           
 java.lang.Object getMinRangeValue()
           
 java.lang.String getNumberPattern()
          This method gets the numberPattern.
 java.lang.String getValueKey()
          This method gets the valueKey.
 boolean isBooleanOnly()
          This method returns the booleanOnly value.
 boolean isDigitsOnly()
          This method returns the digitsOnly value.
 boolean isLetterOnly()
          This method returns the lettersOnly value.
 boolean isLettersOrDigitsOnly()
          This method returns the lettersOrdigitsOnly value.
 boolean isNumberOnly()
          This method returns the numberOnly value.
 boolean isRangeOnly()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOR_NOTHING_EXTRA

public static final Validate FOR_NOTHING_EXTRA
Method Detail

forBooleanOnly

public static Validate forBooleanOnly()
This method creates a Validate object for validating booleans only.

Returns:
Validate

forDateOrTimeOnly

public static Validate forDateOrTimeOnly(java.lang.String dateOrTimePattern)
This method creates a Validate object for validating against a date or time.

Parameters:
dateOrTimePattern - String
Returns:
Validate

forDigitsOnly

public static Validate forDigitsOnly()
This method creates a Validate object for validating digits only.

Returns:
Validate

forLettersOnly

public static Validate forLettersOnly()
This method creates a Validate object for validating letters only.

Returns:
Validate

forLettersOrDigitsOnly

public static Validate forLettersOrDigitsOnly()
This method creates a Validate object for validating letters and digits only.

Returns:
Validate

forNumberOnly

public static Validate forNumberOnly()
This method creates a Validate object for validating numbers only.

Returns:
Validate

forNumberOnly

public static Validate forNumberOnly(java.lang.String numberPattern)
This method creates a Validate object for validating numbers only.

Returns:
Validate

forValuesOnly

public static Validate forValuesOnly(java.lang.String constantsKey)
This method creates a Validate object for validating against the Constants values.

Parameters:
constantsKey - String
Returns:
Validate

forRangeOnly

public static Validate forRangeOnly(java.lang.Object minRangeValue,
                                    java.lang.Object maxRangeValue)
This method creates a Validate object for validating ranges only.

Parameters:
minRangeValue - Object
maxRangeValue - Object
Returns:
Validate

forRangeOnly

public static Validate forRangeOnly(java.lang.String numberPattern,
                                    java.lang.Object minRangeValue,
                                    java.lang.Object maxRangeValue)
This method creates a Validate object for validating ranges only.

Parameters:
minRangeValue - Object
maxRangeValue - Object
Returns:
Validate

getDateOrTimePattern

public java.lang.String getDateOrTimePattern()
This method gets the dateOrTimePattern.

Returns:
java.lang.String

getNumberPattern

public java.lang.String getNumberPattern()
This method gets the numberPattern.

Returns:
java.lang.String

getValueKey

public java.lang.String getValueKey()
This method gets the valueKey.

Returns:
java.lang.String

isBooleanOnly

public boolean isBooleanOnly()
This method returns the booleanOnly value.

Returns:
boolean

isDigitsOnly

public boolean isDigitsOnly()
This method returns the digitsOnly value.

Returns:
boolean

isLetterOnly

public boolean isLetterOnly()
This method returns the lettersOnly value.

Returns:
boolean

isLettersOrDigitsOnly

public boolean isLettersOrDigitsOnly()
This method returns the lettersOrdigitsOnly value.

Returns:
boolean

isNumberOnly

public boolean isNumberOnly()
This method returns the numberOnly value.

Returns:
boolean

isRangeOnly

public boolean isRangeOnly()

getMinRangeValue

public java.lang.Object getMinRangeValue()

getMaxRangeValue

public java.lang.Object getMaxRangeValue()


Copyright © 2005, 2007, Oracle. All rights reserved.