@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    AutoDeployInfo that = (AutoDeployInfo) o;

    if (m_enabled != that.m_enabled) return false;
    if (m_coLocate != null ? !m_coLocate.equals(that.m_coLocate) : that.m_coLocate != null) return false;

    return true;
  }
Getter for the co-located property.

@return a component name in the form serviceName/componentName
ambari-server/src/main/java/org/apache/ambari/server/state/AutoDeployInfo.java