public class IVA_NUM extends ISOFieldValidator
Title: jPOS
Description: Java Framework for Financial Systems
Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.
Company: www.jPOS.org
Modifier and Type | Field and Description |
---|---|
protected int |
radix
by default is decimal
|
breakOnError, cfg, description, fieldId, maxLen, minLen
Constructor and Description |
---|
IVA_NUM() |
IVA_NUM(boolean breakOnError,
int minLen,
int maxLen,
java.lang.String Description) |
IVA_NUM(boolean breakOnError,
int minLen,
int maxLen,
java.lang.String Description,
int radix) |
IVA_NUM(boolean breakOnError,
int maxLen,
java.lang.String Description) |
IVA_NUM(boolean breakOnError,
int maxLen,
java.lang.String Description,
int radix) |
IVA_NUM(boolean breakOnError,
java.lang.String Description) |
IVA_NUM(boolean breakOnError,
java.lang.String Description,
int radix) |
IVA_NUM(int minLen,
int maxLen,
java.lang.String Description)
Create the validator.
|
IVA_NUM(int minLen,
int maxLen,
java.lang.String Description,
int radix)
Create the validator
|
IVA_NUM(int maxLen,
java.lang.String Description) |
IVA_NUM(int maxLen,
java.lang.String Description,
int radix) |
IVA_NUM(java.lang.String Description)
radix = 10.
|
IVA_NUM(java.lang.String Description,
int radix) |
Modifier and Type | Method and Description |
---|---|
void |
setConfiguration(Configuration cfg)
Configure the validator.
|
ISOComponent |
validate(ISOComponent f)
Validate numeric condition.
|
breakOnError, getDescription, getFieldId, getRejCode, setBreakOnError, setDescription, setFieldId, setMaxLength, setMinLength
public IVA_NUM()
public IVA_NUM(java.lang.String Description)
Description
- Brief description.public IVA_NUM(java.lang.String Description, int radix)
public IVA_NUM(int maxLen, java.lang.String Description)
public IVA_NUM(int maxLen, java.lang.String Description, int radix)
public IVA_NUM(int minLen, int maxLen, java.lang.String Description)
minLen
- min length.maxLen
- max lengthDescription
- Validator descriptionpublic IVA_NUM(int minLen, int maxLen, java.lang.String Description, int radix)
minLen
- min length.maxLen
- max lengthDescription
- Validator descriptionradix
- numeric radix for numeric validationpublic IVA_NUM(boolean breakOnError, java.lang.String Description)
public IVA_NUM(boolean breakOnError, java.lang.String Description, int radix)
public IVA_NUM(boolean breakOnError, int maxLen, java.lang.String Description)
public IVA_NUM(boolean breakOnError, int maxLen, java.lang.String Description, int radix)
public IVA_NUM(boolean breakOnError, int minLen, int maxLen, java.lang.String Description)
public IVA_NUM(boolean breakOnError, int minLen, int maxLen, java.lang.String Description, int radix)
public void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration
in interface Configurable
setConfiguration
in class ISOFieldValidator
cfg
- configuration instanceConfigurationException
public ISOComponent validate(ISOComponent f) throws ISOException
validate
in interface ISOValidator
validate
in class ISOFieldValidator
f
- ISOField to validateISOException
- if any validation error.