public void mergeRelationInformation ( TDRelation relation ) { if ( relation . hasTags ( ) ) { addTags ( relation . getTags ( ) ) ; } if ( getName ( ) == null && relation . getName ( ) != null ) { setName ( relation . getName ( ) ) ; } if ( getRef ( ) == null && relation . getRef ( ) != null ) { setRef ( relation . getRef ( ) ) ; } }
Merges tags from a relation with the tags of this way and puts the result into the way tags of this way .