/** * 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 XmlField(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 XmlField(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 XmlField(null, m_strFieldName, m_iMaxLength, m_strFieldDesc, null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
field = new ShortField(this, SEQUENCE, Constants.DEFAULT_FIELD_LENGTH, null, new Short((short)0)); if (iFieldSeq == 6) field = new XmlField(this, COMMENT, Constants.DEFAULT_FIELD_LENGTH, null, null); field = new StringField(this, KEYWORDS, 50, null, null); if (iFieldSeq == 14) field = new XmlField(this, XML_DATA, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 15) field = new XmlField(this, MENUS_HELP, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new BooleanField(this, "AutoDesc", Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(true)); if (iFieldSeq == kComment) field = new XmlField(this, "Comment", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kProgram) field = new StringField(this, "Program", 255, null, null); field = new XmlField(this, "XmlData", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kMenusHelp) field = new XmlField(this, "MenusHelp", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null)
field = new TourClassField(this, TOUR_CLASS_ID, 4, null, null); if (iFieldSeq == 21) field = new XmlField(this, INVOICE_TEXT, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 22) field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new TourClassField(this, TOUR_CLASS_ID, 4, null, null); if (iFieldSeq == 21) field = new XmlField(this, INVOICE_TEXT, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 22) field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 13) field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 14) field = new ProductDescSort(this, DESC_SORT, 10, null, null);
field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 13) field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 14) field = new ProductDescSort(this, DESC_SORT, 10, null, null);
field = new XmlField(this, ACTION_DOCUMENT_TEXT, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new XmlField(this, ACTION_DOCUMENT_TEXT, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new StringField(this, "MessageDataType", 30, null, null); if (iFieldSeq == kXMLMessageData) field = new XmlField(this, "XMLMessageData", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kMessageData) field = new MemoField(this, "MessageData", Constants.DEFAULT_FIELD_LENGTH, null, null);
field = new MemoField(this, COMMENTS, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 22) field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 23) field = new ShortField(this, NIGHTS, 2, null, new Short((short)1));
field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 52) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null);
field = new MemoField(this, COMMENTS, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 22) field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 23) field = new ShortField(this, NIGHTS, 2, null, new Short((short)1));
field = new XmlField(this, ITINERARY_DESC, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 52) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null);