/** * Initialize class fields. */ public void init(BaseField fieldMain, String ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF, boolean bResetOnBreak) { super.init(null, null, null, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, bResetOnBreak); } /**
/** * Initialize class fields. */ public void init(Record record, Record recPaxCategory) { m_recPaxCategory = null; m_sOldPaxType = 0; m_recPaxCategory = recPaxCategory; super.init(null, record, Booking.PAX, null, null, true, true, false); } /**
/** * Initialize class fields. */ public void init(BaseField fieldMain, String ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF) { super.init(null, null, null, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Constructor for counting the sub-records in this file. * @param fieldMain The field to receive the count. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). */ public SubCountHandler(BaseField fieldMain, boolean bRecountOnSelect, boolean bVerifyOnEOF) { this(); this.init(null, null, -1, fieldMain, -1, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Constructor for counting the sub-records in this file. * @param fieldMain The field to receive the count. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). */ public SubCountHandler(BaseField fieldMain, boolean bRecountOnSelect, boolean bVerifyOnEOF) { this(); this.init(null, null, -1, fieldMain, -1, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Initialize class fields. */ public void init(BaseField fieldMain, String ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF) { m_iEndMcoClass = 0; m_iStartMcoClass = 0; m_recTrxStatus = null; super.init(null, null, null, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Initialize class fields. */ public void init(BaseField fieldMain, String ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF) { super.init(null, null, null, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Initialize class fields. */ public void init(BaseField fieldMain, String ifsToCount, String fsReconciled, boolean bCountPositive) { m_bCountPositive = true; m_fsReconciled = ""; m_fsReconciled = fsReconciled; m_bCountPositive = bCountPositive; super.init(null, null, null, fieldMain, ifsToCount, true, false, false); } /**
/** * Constructor for counting the sub-records in this file. * @param fieldMain The field to receive the count. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). */ public SubCountHandler(BaseField fieldMain, boolean bRecountOnSelect, boolean bVerifyOnEOF) { this(); this.init(null, null, null, fieldMain, null, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Initialize class fields. */ public void init(Record record, Record recPaxCategory) { m_recPaxCategory = null; m_sOldPaxType = 0; m_recPaxCategory = recPaxCategory; super.init(null, record, Booking.PAX, null, null, true, true, false); } /**
/** * Initialize class fields. */ public void init(BaseField fieldMain, String ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF, boolean bResetOnBreak) { super.init(null, null, null, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, bResetOnBreak); } /**
/** * Constructor for counting the value of a field in this record. * @param fieldMain The field to receive the count. * @param ifsToCount The field in this record to add up. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). */ public SubCountHandler(BaseField fieldMain, String fsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF) // Init this field override for other value { this(); this.init(null, null, null, fieldMain, fsToCount, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Constructor for counting the value of a field in this record. * @param fieldMain The field to receive the count. * @param ifsToCount The field in this record to add up. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). */ public SubCountHandler(BaseField fieldMain, int ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF) // Init this field override for other value { this(); this.init(null, null, -1, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Constructor for counting the value of a field in this record. * @param fieldMain The field to receive the count. * @param ifsToCount The field in this record to add up. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). */ public SubCountHandler(BaseField fieldMain, int ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF) // Init this field override for other value { this(); this.init(null, null, -1, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, false); } /**
/** * Constructor for counting the value of a field in this record. * @param fieldMain The field to receive the count. * @param ifsToCount The field in this record to add up. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). * @param bResetOnBreak Reset the counter on a control break? */ public SubCountHandler(BaseField fieldMain, int ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF, boolean bResetOnBreak) // Init this field override for other value { this(); this.init(null, null, -1, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, bResetOnBreak); } /**
/** * Constructor for counting the value of a field in this record. * @param fieldMain The field to receive the count. * @param ifsToCount The field in this record to add up. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). * @param bResetOnBreak Reset the counter on a control break? */ public SubCountHandler(BaseField fieldMain, String fsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF, boolean bResetOnBreak) // Init this field override for other value { this(); this.init(null, null, null, fieldMain, fsToCount, bRecountOnSelect, bVerifyOnEOF, bResetOnBreak); } /**
/** * Constructor for counting the value of a field in this record. * @param fieldMain The field to receive the count. * @param ifsToCount The field in this record to add up. * @param bVerifyOnEOF Verify the total on End of File (true default). * @param bRecountOnSelect Recount the total each time a file select is called (False default). * @param bResetOnBreak Reset the counter on a control break? */ public SubCountHandler(BaseField fieldMain, int ifsToCount, boolean bRecountOnSelect, boolean bVerifyOnEOF, boolean bResetOnBreak) // Init this field override for other value { this(); this.init(null, null, -1, fieldMain, ifsToCount, bRecountOnSelect, bVerifyOnEOF, bResetOnBreak); } /**
/** * 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() { // The listener is cloned along with any cloned files SubCountHandler handler = new SubCountHandler(); handler.init(null, null, null, m_fldMain, fsToCount, m_bRecountOnSelect, m_bVerifyOnEOF, m_bResetOnBreak); // Init this field override for other value return handler; } /**