Class RFCreditorReferenceValidator
java.lang.Object
org.apache.commons.validator.routines.RFCreditorReferenceValidator
RF Creditor Reference Validator.
The Structured Creditor Reference is an international business standard based on ISO 11649. Using Creditor Reference, a company can automatically match its remittance information to its A/R. The Creditor Reference is an alphanumeric string, up to 25 characters long, prefixed with the letters "RF" and two check digits.
For further information see ISO-11649 or wikipedia.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RFCreditorReferenceValidatorReturn a singleton instance of the validator using the default formatsbooleanValidate a RF Creditor Reference
-
Constructor Details
-
RFCreditorReferenceValidator
public RFCreditorReferenceValidator()
-
-
Method Details
-
getInstance
Return a singleton instance of the validator using the default formats- Returns:
- A singleton instance of the validator
-
isValid
Validate a RF Creditor Reference- Parameters:
id- The value validation is being performed on- Returns:
trueif the value is valid
-