public void moveFieldToThin ( FieldInfo fieldInfo , BaseField field , Record record ) { if ( ( field == null ) || ( ! field . getFieldName ( ) . equals ( fieldInfo . getFieldName ( ) ) ) ) { field = null ; if ( record != null ) field = record . getField ( fieldInfo . getFieldName ( ) ) ; } if ( field != null ) { if ( field . getDataClass ( ) == fieldInfo . getDataClass ( ) ) fieldInfo . setData ( field . getData ( ) ) ; else fieldInfo . setString ( field . toString ( ) ) ; } }
Move the data in this record to the thin version .