@Override
  public boolean equals(Object o) {

    if (this == o) {
      return true;
    }

    if (!(o instanceof PropertyPredicate)) {
      return false;
    }

    PropertyPredicate that = (PropertyPredicate) o;

    return propertyId == null ? that.propertyId == null : propertyId.equals(that.propertyId);
  }
Predicate that is associated with a resource property.
ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/PropertyPredicate.java