private void updateView(){
  Map<String,List<String>> attributes=dataObject.getAttributes();
  final String artifactId=getAttribute(ARTIFACT_ID);
  if (!artifactId.isEmpty()) {
    view.setArtifactId(artifactId);
  }
  if (attributes.get(GROUP_ID) != null) {
    view.setGroupId(getAttribute(GROUP_ID));
  }
 else {
    view.setGroupId(getAttribute(PARENT_GROUP_ID));
  }
  if (attributes.get(VERSION) != null) {
    view.setVersion(getAttribute(VERSION));
  }
 else {
    view.setVersion(getAttribute(PARENT_VERSION));
  }
  view.setPackaging(getAttribute(PACKAGING));
}

private void updateView ( ) { Map < String , List < String > > attributes = dataObject . getAttributes ( ) ; final String artifactId = getAttribute ( ARTIFACT_ID ) ; if ( ! artifactId . isEmpty ( ) ) { view . setArtifactId ( artifactId ) ; } if ( attributes . get ( GROUP_ID ) != null ) { view . setGroupId ( getAttribute ( GROUP_ID ) ) ; } else { view . setGroupId ( getAttribute ( PARENT_GROUP_ID ) ) ; } if ( attributes . get ( VERSION ) != null ) { view . setVersion ( getAttribute ( VERSION ) ) ; } else { view . setVersion ( getAttribute ( PARENT_VERSION ) ) ; } view . setPackaging ( getAttribute ( PACKAGING ) ) ; }
updates view from data - object .
