@Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (obj == this) {
      return true;
    }
    if (! (obj instanceof ClientConfigFileDefinition)) {
      return false;
    }

    ClientConfigFileDefinition rhs = (ClientConfigFileDefinition) obj;
    return new EqualsBuilder().
            append(type, rhs.type).
            append(fileName, rhs.fileName).
        append(dictionaryName, rhs.dictionaryName).
        append(optional, rhs.optional).isEquals();
  }
Represents the configFiles tag at service/component metainfo
ambari-server/src/main/java/org/apache/ambari/server/state/ClientConfigFileDefinition.java