/** * 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 { BaseField field = new PercentField(null, m_strFieldName, m_iMaxLength, m_strFieldDesc, null); field.setRecord(m_record); // Set table without adding to table field list return 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 { BaseField field = new PercentField(null, m_strFieldName, m_iMaxLength, m_strFieldDesc, null); field.setRecord(m_record); // Set table without adding to table field list return 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 { BaseField field = new PercentField(null, m_strFieldName, m_iMaxLength, m_strFieldDesc, null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
field = new StringField(this, DESCRIPTION, 20, null, null); if (iFieldSeq == 4) field = new PercentField(this, TAX_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 5) field = new PercentField(this, SERVICE_CHARGE_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 6) field = new PercentField(this, COMMISSION_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new StringField(this, DESCRIPTION, 20, null, null); if (iFieldSeq == 4) field = new PercentField(this, TAX_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 5) field = new PercentField(this, SERVICE_CHARGE_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 6) field = new PercentField(this, COMMISSION_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new BooleanField(this, CHECK_DEP, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(true)); if (iFieldSeq == 9) field = new PercentField(this, MCO_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 10) field = new BooleanField(this, CHECK_FINAL, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(true));
field = new AccountField(this, MCO_SUSPENSE_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 8) field = new PercentField(this, MCO_COMM_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 9) field = new PercentField(this, MCO_SVC_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 10) field = new PercentField(this, MCO_TAX_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 11) field = new AccountField(this, NON_TOUR_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); field = new AccountField(this, CREDIT_CARD_VAR_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 19) field = new PercentField(this, CREDIT_CARD_SVC_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 20) field = new AccountField(this, CREDIT_DEBIT_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
field = new AccountField(this, MCO_SUSPENSE_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 8) field = new PercentField(this, MCO_COMM_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 9) field = new PercentField(this, MCO_SVC_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 10) field = new PercentField(this, MCO_TAX_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 11) field = new AccountField(this, NON_TOUR_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); field = new AccountField(this, CREDIT_CARD_VAR_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 19) field = new PercentField(this, CREDIT_CARD_SVC_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 20) field = new AccountField(this, CREDIT_DEBIT_ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
field = new BooleanField(this, AUTO_BOOKING_CODE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 4) field = new PercentField(this, AGENCY_COMM, 5, null, new Float(0.10)); if (iFieldSeq == 5) field = new ShortField(this, DEPOSIT_DAYS, 3, null, new Short((short)10)); field = new ShortField(this, NIGHTS, 2, null, new Short((short)1)); if (iFieldSeq == 27) field = new PercentField(this, MARKUP, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 28) field = new PricingTypeField(this, TOUR_PRICING_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
if (iFieldSeq == 11) field = new PercentField(this, COMMISSION_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); field.addListener(new InitOnceFieldHandler(null));
if (iFieldSeq == 11) field = new PercentField(this, COMMISSION_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); field.addListener(new InitOnceFieldHandler(null));
field = new CurrencyField(this, CUT_OFF_AMOUNT, 8, null, null); if (iFieldSeq == 6) field = new PercentField(this, TAX_RATE, 5, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new PercentField(this, COMM_PER, 5, null, new Float(0.10)); if (iFieldSeq == 22) field = new PercentField(this, TAX_PER, 5, null, null); field.addListener(new InitOnceFieldHandler(null)); field = new PercentField(this, CARRIER_SVC_PER, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new PercentField(this, COMMISSION_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); field.addListener(new InitOnceFieldHandler(null));
field = new PercentField(this, COMMISSION_RATE, Constants.DEFAULT_FIELD_LENGTH, null, null); field.addListener(new InitOnceFieldHandler(null));
field = new AirlineField(this, AIRLINE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 2) field = new PercentField(this, SERVICE_CHARGE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 3) field = new McoScreenRecord_ReportDate(this, REPORT_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);
if (iFieldSeq == 10) field = new PercentField(this, SVC_PER, 5, null, null); field.addListener(new InitOnceFieldHandler(null));
if (iFieldSeq == 10) field = new PercentField(this, SVC_PER, 5, null, null); field.addListener(new InitOnceFieldHandler(null));
field = new PercentField(this, MCO_SVC_CHG, Constants.DEFAULT_FIELD_LENGTH, null, null); field.addListener(new InitOnceFieldHandler(null));
field = new PercentField(this, MCO_SVC_CHG, Constants.DEFAULT_FIELD_LENGTH, null, null); field.addListener(new InitOnceFieldHandler(null));