public String getName() {
    return name;
  }
Getter for name property.

@return the name of the component which is the dependency
        in the form serviceName/componentName
ambari-server/src/main/java/org/apache/ambari/server/state/DependencyInfo.java