private void addStatement ( RecordImpl record , String subject , String property , String object ) { Collection < Column > cols = columns . get ( property ) ; if ( cols == null ) { if ( property . equals ( RDF_TYPE ) && ! types . isEmpty ( ) ) addValue ( record , subject , property , object ) ; return ; } for ( Column col : cols ) { String cleaned = object ; if ( col . getCleaner ( ) != null ) cleaned = col . getCleaner ( ) . clean ( object ) ; if ( cleaned != null && ! cleaned . equals ( "" ) ) addValue ( record , subject , col . getProperty ( ) , cleaned ) ; } }
common utility method for adding a statement to a record