/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.ambari.server.orm.entities;

import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.metamodel.SetAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;

import org.apache.ambari.server.state.alert.Scope;
import org.apache.ambari.server.state.alert.SourceType;


/**
 * The {@link AlertDefinitionEntity_} is a strongly typed metamodel for creating
 * {@link CriteriaQuery} for {@link AlertDefinitionEntity}.
 */
@StaticMetamodel(AlertDefinitionEntity.class)
public class AlertDefinitionEntity_ {
  public static volatile SingularAttribute<AlertDefinitionEntity, Long> definitionId;
  public static volatile SingularAttribute<AlertDefinitionEntity, String> source;
  public static volatile SingularAttribute<AlertDefinitionEntity, Long> clusterId;
  public static volatile SingularAttribute<AlertDefinitionEntity, ClusterEntity> clusterEntity;
  public static volatile SingularAttribute<AlertDefinitionEntity, String> componentName;
  public static volatile SingularAttribute<AlertDefinitionEntity, String> definitionName;
  public static volatile SingularAttribute<AlertDefinitionEntity, String> label;
  public static volatile SingularAttribute<AlertDefinitionEntity, Scope> scope;
  public static volatile SingularAttribute<AlertDefinitionEntity, Integer> enabled;
  public static volatile SingularAttribute<AlertDefinitionEntity, String> hash;
  public static volatile SingularAttribute<AlertDefinitionEntity, Integer> scheduleInterval;
  public static volatile SingularAttribute<AlertDefinitionEntity, String> serviceName;
  public static volatile SingularAttribute<AlertDefinitionEntity, SourceType> sourceType;
  public static volatile SetAttribute<AlertDefinitionEntity, AlertGroupEntity> alertGroups;
}
