com.ca.jcs.sdk.validator
Class NoCommaValidator

java.lang.Object
  extended by com.ca.jcs.sdk.validator.NoCommaValidator
All Implemented Interfaces:
StringValidator

public class NoCommaValidator
extends Object
implements StringValidator

Lowest level no comma validator, used by NoCommaAttributeValidator.


Field Summary
static String HAS_COMMA_MSG
           
 
Constructor Summary
NoCommaValidator()
           
 
Method Summary
 ErrorMessages validate(String value)
          Validate the provided value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HAS_COMMA_MSG

public static final String HAS_COMMA_MSG
See Also:
Constant Field Values
Constructor Detail

NoCommaValidator

public NoCommaValidator()
Method Detail

validate

public ErrorMessages validate(String value)
Description copied from interface: StringValidator
Validate the provided value.

Specified by:
validate in interface StringValidator
Parameters:
value - Value to be validated.
Returns:
Null if value has desired format, and otherwise one or more error messages where only their msgFormatId field needs to be set.


Created 2011-07-14 13:27 EST