|  | @@ 902-907 (lines=6) @@ | 
                                                            
                                    | 899 |  |             $resId = $this->getValue($data, $relationship->getDataPath() . '.id'); | 
                                                            
                                    | 900 |  |         } | 
                                                            
                                    | 901 |  |  | 
                                                            
                                    | 902 |  |         if ((null !== $resId) && | 
                                                            
                                    | 903 |  |             (null !== $resType) && | 
                                                            
                                    | 904 |  |             (null !== ($res = $this->context->getResource($resType, $resId))) | 
                                                            
                                    | 905 |  |         ) { | 
                                                            
                                    | 906 |  |             return $this->setProperty($pathValue, $res, $relationship); | 
                                                            
                                    | 907 |  |         } | 
                                                            
                                    | 908 |  |  | 
                                                            
                                    | 909 |  |  | 
                                                            
                                    | 910 |  |         if (null !== ($linkedData = $this->context->getLinkedData($resType, $resId))) { | 
                                                                                
                                |  | @@ 947-952 (lines=6) @@ | 
                                                            
                                    | 944 |  |                 $resId = $this->getValue($data, $path . '.id'); | 
                                                            
                                    | 945 |  |             } | 
                                                            
                                    | 946 |  |  | 
                                                            
                                    | 947 |  |             if ((null !== $resType) && | 
                                                            
                                    | 948 |  |                 (null !== $resId) && | 
                                                            
                                    | 949 |  |                 (null !== ($parsed = $this->context->getResource($resType, $resId))) | 
                                                            
                                    | 950 |  |             ) { | 
                                                            
                                    | 951 |  |                 return $parsed; | 
                                                            
                                    | 952 |  |             } | 
                                                            
                                    | 953 |  |  | 
                                                            
                                    | 954 |  |             $params = $relationship->getDataTypeParams(); | 
                                                            
                                    | 955 |  |  |