/** * Add this field to the buffer. * @param field The field to add to this buffer. */ public void addNextField(FieldInfo field) { this.addNextString(field.getString()); } /**
if (strObjectID.equalsIgnoreCase(record.getCounterField().getString()))
/** * Move data to this field from another field. * If the data types are the same data is moved, otherwise a string conversion is done. * @param field The source field. * @param bDisplayOption If true, display changes. * @param iMoveMode The move mode. * @return The error code (or NORMAL_RETURN). */ public int moveFieldToThis(FieldInfo field, boolean bDisplayOption, int iMoveMode) { // Copy a field to this if (this.isSameType(field)) { // Same type, just move the info Object data = field.getData(); return this.setData(data, bDisplayOption, iMoveMode); } else { // Different type... convert to text first String tempString = field.getString(); return this.setString(tempString, bDisplayOption, iMoveMode); } } /**
/** * Move data to this field from another field. * If the data types are the same data is moved, otherwise a string conversion is done. * @param field The source field. * @param bDisplayOption If true, display changes. * @param iMoveMode The move mode. * @return The error code (or NORMAL_RETURN). */ public int moveFieldToThis(FieldInfo field, boolean bDisplayOption, int iMoveMode) { // Copy a field to this if (this.isSameType(field)) { // Same type, just move the info Object data = field.getData(); return this.setData(data, bDisplayOption, iMoveMode); } else { // Different type... convert to text first String tempString = field.getString(); return this.setString(tempString, bDisplayOption, iMoveMode); } } /**
/** * Move data to this field from another field. * If the data types are the same data is moved, otherwise a string conversion is done. * @param field The source field. * @param bDisplayOption If true, display changes. * @param iMoveMode The move mode. * @return The error code (or NORMAL_RETURN). */ public int moveFieldToThis(FieldInfo field, boolean bDisplayOption, int iMoveMode) { // Copy a field to this if (this.isSameType(field)) { // Same type, just move the info Object data = field.getData(); return this.setData(data, bDisplayOption, iMoveMode); } else { // Different type... convert to text first String tempString = field.getString(); return this.setString(tempString, bDisplayOption, iMoveMode); } } /**