/** * Get the field description (usually from the resource file). * @return The field desc. */ public String getFieldDesc() { return super.getFieldDesc(); } /**
/** * Get the field description (usually from the resource file). * @return The field desc. */ public String getFieldDesc() { return super.getFieldDesc(); } /**
/** * Get the field description (usually from the resource file). * @return The field desc. */ public String getFieldDesc() { return super.getFieldDesc(); } /**
/** * Get the long field description tip. * Look in the resource for the long description, if not found, return the field desc. * @return The field tip. */ public String getFieldTip() { String strTipKey = this.getFieldName() + Constants.TIP; String strFieldTip = strTipKey; if (this.getRecord() != null) strFieldTip = this.getRecord().getString(strTipKey); if (strFieldTip == strTipKey) return this.getFieldDesc(); return strFieldTip; } /**
/** * */ private FieldList cloneFieldList(FieldList item) { FieldList fieldList = new FieldList(null); for (int i = 0; i < item.getFieldCount(); i++) { FieldInfo fldSource = item.getField(i); FieldInfo fldDest = new FieldInfo(fieldList, fldSource.getFieldName(), fldSource.getMaxLength(), fldSource.getFieldDesc(), fldSource.getDefault()); fldDest.setDataClass(fldSource.getDataClass()); } return fieldList; } /**
FieldInfo field = new FieldInfo(recBookingDetailCalendarItem, fieldActual.getFieldName(), fieldActual.getMaxLength(), fieldActual.getFieldDesc(), fieldActual.getDefault()); field.setDataClass(fieldActual.getDataClass());