/** * 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 RealField(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 RealField(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 RealField(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, CURRENCY_CODE, 3, null, null); if (iFieldSeq == 5) field = new RealField(this, LAST_RATE, 10, null, null); if (iFieldSeq == 6) field = new DateField(this, RATE_CHANGED_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null); field = new UserField(this, RATE_CHANGED_BY, 16, null, null); if (iFieldSeq == 8) field = new RealField(this, COSTING_RATE, 10, null, null); if (iFieldSeq == 9) field = new DateField(this, COSTING_CHANGED_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);
field = new RealField(this, EXCHANGE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 27) field = new ShortField(this, PAX, 3, null, null);
field = new RealField(this, EXCHANGE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 27) field = new ShortField(this, PAX, 3, null, null);
field = new FullCurrencyField(this, AMOUNT, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 15) field = new RealField(this, EXCHANGE, 10, null, null); if (iFieldSeq == 16) field = new PreferredSignField(this, INV_SIGN, Constants.DEFAULT_FIELD_LENGTH, null, null);
if (iFieldSeq == 22) field = new RealField(this, DEPARTURE_EXCHANGE, 10, null, null); field.addListener(new InitOnceFieldHandler(null));
field = new FullCurrencyField(this, TOTAL_COST, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 25) field = new RealField(this, EXCHANGE, 10, null, new Double(1.0)); if (iFieldSeq == 26)
field = new FullCurrencyField(this, TOTAL_COST, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 25) field = new RealField(this, EXCHANGE, 10, null, new Double(1.0)); if (iFieldSeq == 26)