Class LEIValidator
java.lang.Object
org.apache.commons.validator.routines.LEIValidator
LEI (Legal Entity Identifier) Validator.
The Legal Entity Identifier (LEI) is a unique global identifier for legal entities participating in financial transactions. Also known as an LEI code or LEI number, see Wikipedia. The schema can be found in the most recent version of the ISO 6523 ICD list. The prefix of this specfic ICD identifier is 0199.
There are two formats, the actual style and the old style.
Example:
54930084UKLVMY22DS16
for G.E. Financing GmbH
213800WSGIIZCXF1P572
Jaguar Land Rover Ltd
M07J9MTYHFCSVRBV2631
RWE AG (old Style, before 2012.Nov.30)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LEIValidator
Return a singleton instance of the validator using the default formatsboolean
Validate a LEI
-
Constructor Details
-
LEIValidator
public LEIValidator()
-
-
Method Details
-
getInstance
Return a singleton instance of the validator using the default formats- Returns:
- A singleton instance of the validator
-
isValid
Validate a LEI- Parameters:
id
- The value validation is being performed on- Returns:
true
if the value is valid
-