/** * Constructor. * @param iMainField The field to use as a key in the file to read. * @param fileToRead The secondary file to read when I read a record from the owner (onvalidrecord). * @param iFileKeyField The key field in the secondary file. */ public DisplayReadHandler(String mainFieldName, Record fileToRead, String fileKeyAreaName) { this(); this.init(null, mainFieldName, fileToRead, -1, fileKeyAreaName); } /**
/** * Constructor. * @param iMainField The field to use as a key in the file to read. * @param fileToRead The secondary file to read when I read a record from the owner (onvalidrecord). * @param iFileKeyField The key field in the secondary file. */ public DisplayReadHandler(int iMainField, Record fileToRead, int iFileKeyField) { this(); this.init(null, iMainField, fileToRead, iFileKeyField); } /**
/** * Constructor. * @param iMainField The field to use as a key in the file to read. * @param fileToRead The secondary file to read when I read a record from the owner (onvalidrecord). * @param iFileKeyField The key field in the secondary file. */ public DisplayReadHandler(Record fileToRead) { this(); this.init(null, null, fileToRead, DBConstants.MAIN_FIELD, null); } /**
/** * Constructor. * @param iMainField The field to use as a key in the file to read. * @param fileToRead The secondary file to read when I read a record from the owner (onvalidrecord). * @param iFileKeyField The key field in the secondary file. */ public DisplayReadHandler(Record fileToRead) { this(); this.init(null, -1, fileToRead, DBConstants.MAIN_FIELD); } /**
/** * Constructor. * @param iMainField The field to use as a key in the file to read. * @param fileToRead The secondary file to read when I read a record from the owner (onvalidrecord). * @param iFileKeyField The key field in the secondary file. */ public DisplayReadHandler(int iMainField, Record fileToRead, int iFileKeyField) { this(); this.init(null, iMainField, fileToRead, iFileKeyField); } /**
/** * Constructor. * @param iMainField The field to use as a key in the file to read. * @param fileToRead The secondary file to read when I read a record from the owner (onvalidrecord). * @param iFileKeyField The key field in the secondary file. */ public DisplayReadHandler(Record fileToRead) { this(); this.init(null, -1, fileToRead, DBConstants.MAIN_FIELD); } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { DisplayReadHandler listener = new DisplayReadHandler(); listener.init(null, m_iMainField, m_FileToRead, m_iFileKeyField); return listener; } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { DisplayReadHandler listener = new DisplayReadHandler(); listener.init(null, mainFieldName, m_FileToRead, m_iFileKeyField, fileKeyFieldName); return listener; } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { DisplayReadHandler listener = new DisplayReadHandler(); listener.init(null, m_iMainField, m_FileToRead, m_iFileKeyField); return listener; } /**