jPOS 1.6.7 API Documentation

org.jpos.iso
Class ISOVMsg

java.lang.Object
  extended by org.jpos.iso.ISOComponent
      extended by org.jpos.iso.ISOMsg
          extended by org.jpos.iso.ISOVMsg
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, ISOVErrorList, Loggeable

public class ISOVMsg
extends ISOMsg
implements ISOVErrorList

Wrapper class resulting from process of validating an ISOMsg instance. Contains details of the original msg and validation-error details too. Normally in validation process when an error is detected by validator in msg, then the msg 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

Field Summary
 
Fields inherited from class org.jpos.iso.ISOMsg
INCOMING, OUTGOING
 
Constructor Summary
ISOVMsg(ISOMsg Source)
          Create a message from original instance adding error data.
ISOVMsg(ISOMsg Source, ISOVError FirstError)
           
 
Method Summary
 boolean addISOVError(ISOVError Error)
          Add an error component to the list of errors.
 java.util.ListIterator errorListIterator()
          Get an error iterator instance.
 
Methods inherited from class org.jpos.iso.ISOMsg
clone, clone, dump, getBytes, getBytes, getChildren, getComponent, getComponent, getComposite, getDirection, getHeader, getISOHeader, getKey, getMaxField, getMTI, getPackager, getSource, getString, getString, getValue, getValue, getValue, hasField, hasField, hasFields, hasFields, isIncoming, isInner, isOutgoing, isRequest, isResponse, isRetransmission, merge, move, pack, readExternal, recalcBitMap, set, set, set, set, set, set, setDirection, setFieldNumber, setHeader, setHeader, setMTI, setPackager, setResponseMTI, setRetransmissionMTI, setSource, setValue, toString, unpack, unpack, unset, unset, unset, writeExternal
 
Methods inherited from class org.jpos.iso.ISOComponent
getBytes, pack
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISOVMsg

public ISOVMsg(ISOMsg Source)
Create a message from original instance adding error data.

Parameters:
Source - Original msg instance.

ISOVMsg

public ISOVMsg(ISOMsg Source,
               ISOVError FirstError)
Method Detail

addISOVError

public boolean addISOVError(ISOVError Error)
Add an error component to the list of errors.

Specified by:
addISOVError in interface ISOVErrorList
Parameters:
Error - Error instance to add.
Returns:
True if the list of errors change after operation.
See Also:
ISOVError

errorListIterator

public java.util.ListIterator errorListIterator()
Get an error iterator instance.

Specified by:
errorListIterator in interface ISOVErrorList
Returns:
iterator.

jPOS.org