/** * 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 PropertiesField(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 PropertiesField(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 PropertiesField(null, m_strFieldName, m_iMaxLength, m_strFieldDesc, null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == 0) //{ // field = new CounterField(this, ID, Constants.DEFAULT_FIELD_LENGTH, null, null); // field.setHidden(true); //} //if (iFieldSeq == 1) //{ // field = new RecordChangedField(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null); // field.setHidden(true); //} //if (iFieldSeq == 2) //{ // field = new BooleanField(this, DELETED, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(false)); // field.setHidden(true); //} if (iFieldSeq == 3) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq); return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == kID) //{ // field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); // field.setHidden(true); //} if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kPropertiesRecordLastField) field = new EmptyField(this); } return field; } /**
field = new StringField(this, CODE, 128, null, null); if (iFieldSeq == 5) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == kID) //{ // field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); // field.setHidden(true); //} if (iFieldSeq == kUserID) field = new UserField(this, "UserID", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kCode) field = new StringField(this, "Code", 128, null, null); if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kUserRegistrationLastField) field = new EmptyField(this); } return field; } /**
field = new BooleanField(this, "DefaultTransport", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null)
field = new BooleanField(this, "Hidden", Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(false)); if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null)
field = new VersionField(this, VERSION_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 8) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new VersionField(this, VERSION_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 8) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new StringField(this, "MessageClass", 127, null, null); if (iFieldSeq == kMessageProperties) field = new PropertiesField(this, "MessageProperties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kMessageInfoTypeID)
field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kWebServicesServer) field = new StringField(this, "WebServicesServer", 128, null, "/ws");
field = new BooleanField(this, "Hidden", Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(false)); if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kAnnivMasterID) field = new AnnivMasterField(this, "AnnivMasterID", Constants.DEFAULT_FIELD_LENGTH, null, null);
field = new StringField(this, BASE_DATABASE, 30, null, null); if (iFieldSeq == 9) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == 0) // field = new CurrencyField(this, PP_COST_LOCAL, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 1) field = new MessageProcessInfoManualField(this, MESSAGE_PROCESS_INFO_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 2) field = new MessageTransportManualSelect(this, MESSAGE_TRANSPORT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 3) field = new StringField(this, ITINERARY_STYLE_SHEET, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 4) field = new StringField(this, ACTION_TARGET, 40, null, null); if (iFieldSeq == 5) field = new HtmlField(this, ITINERARY_TEXT, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 6) field = new PropertiesField(this, ITINERARY_PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 7) field = new RequestTypeField(this, REQUEST_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 8) field = new ContactTypeField(this, CONTACT_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq); return field; }
field = new StringField(this, "VersionID", 20, null, null); if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null)
field = new StringField(this, "BaseDatabase", 30, null, null); if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null)
field = new DateField(this, DELETION_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == 8) field = new PropertiesField(this, PROPERTIES, Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) field = super.setupField(iFieldSeq);
field = new StringField(this, "ProcessorClass", 127, null, null); if (iFieldSeq == kProperties) field = new PropertiesField(this, "Properties", Constants.DEFAULT_FIELD_LENGTH, null, null); if (iFieldSeq == kDefaultMessageTransportID) field = new MessageTransportSelect(this, "DefaultMessageTransportID", Constants.DEFAULT_FIELD_LENGTH, null, null);