jPOS 1.6.7 API Documentation

org.jpos.iso
Class ISOVField

java.lang.Object
  extended by org.jpos.iso.ISOComponent
      extended by org.jpos.iso.ISOField
          extended by 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

Version:
1.0
Author:
Jose Eduardo Leon
See Also:
Serialized Form

Constructor Summary
ISOVField(ISOField Source)
          Creates the vfield.
ISOVField(ISOField Source, ISOVError FirstError)
           
 
Method Summary
 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, getKey, getValue, pack, readExternal, setFieldNumber, setValue, unpack, unpack, writeExternal
 
Methods inherited from class org.jpos.iso.ISOComponent
getChildren, getComposite, getMaxField, pack, set, unset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISOVField

public ISOVField(ISOField Source)
Creates the vfield.

Parameters:
Source - original field instance.

ISOVField

public ISOVField(ISOField Source,
                 ISOVError FirstError)
Method Detail

addISOVError

public boolean addISOVError(ISOVError Error)
Description copied from interface: ISOVErrorList
Add an ISOVError to the list.

Specified by:
addISOVError in interface ISOVErrorList
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 interface ISOVErrorList
Returns:
iterator instance.

jPOS.org