private void setIdValue ( Object target , JsonNode idValue ) throws IllegalAccessException { Field idField = configuration . getIdField ( target . getClass ( ) ) ; ResourceIdHandler idHandler = configuration . getIdHandler ( target . getClass ( ) ) ; if ( idValue != null ) { idField . set ( target , idHandler . fromString ( idValue . asText ( ) ) ) ; } }
Sets an id attribute value to a target object .