@Override
  public void addProperty(String propertyId, TemporalInfo temporalInfo) {
    if (propertyId.equals("*")) {
      // wildcard
      addAllProperties(temporalInfo);
    } else{
      if (! addPropertyToSubResource(propertyId, temporalInfo)) {
        if (propertyId.endsWith("/*")) {
          propertyId = propertyId.substring(0, propertyId.length() - 2);
        }
        addLocalProperty(propertyId);
        if (temporalInfo != null) {
          temporalInfoMap.put(propertyId, temporalInfo);
        }
      }
    }
  }
Constructor

@param keyValueMap         the map of key values
@param resourceDefinition  the resource definition
@param clusterController   the cluster controller
ambari-server/src/main/java/org/apache/ambari/server/api/query/QueryImpl.java