Package org.jpos.iso
Class ISOVField
- java.lang.Object
-
- org.jpos.iso.ISOComponent
-
- org.jpos.iso.ISOField
-
- org.jpos.iso.ISOVField
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,java.lang.Cloneable
,ISOVErrorList
public class ISOVField extends ISOField implements ISOVErrorList
Wrapper class resulting from process of validating an ISOField instance. Contains details of the original field and validation-error details too. Normally in validation process when an error is detected by validator in some field, then the field is replaced by an instance of this class, containning error details.Title: jPOS
Description: Java Framework for Financial Systems
Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.
Company: www.jPOS.org
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.LinkedList
errors
list of errors-
Fields inherited from class org.jpos.iso.ISOField
fieldNumber, value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addISOVError(ISOVError Error)
Add an ISOVError to the list.java.util.ListIterator
errorListIterator()
Get an error list iterator.-
Methods inherited from class org.jpos.iso.ISOField
dump, getBytes, getFieldNumber, getKey, getValue, pack, readExternal, setFieldNumber, setValue, unpack, unpack, writeExternal
-
Methods inherited from class org.jpos.iso.ISOComponent
getChildren, getComposite, getMaxField, pack, set, unset
-
-
-
-
Field Detail
-
errors
protected java.util.LinkedList errors
list of errors
-
-
Method Detail
-
addISOVError
public boolean addISOVError(ISOVError Error)
Description copied from interface:ISOVErrorList
Add an ISOVError to the list.- Specified by:
addISOVError
in interfaceISOVErrorList
- Parameters:
Error
- error detailed instance.- Returns:
- true if error list change after operation. See Collection.
- See Also:
ISOVError
-
errorListIterator
public java.util.ListIterator errorListIterator()
Description copied from interface:ISOVErrorList
Get an error list iterator.- Specified by:
errorListIterator
in interfaceISOVErrorList
- Returns:
- iterator instance.
-
-