public class AlertCurrentEntity_ extends Object
AlertCurrentEntity_
is a strongly typed metamodel for creating
CriteriaQuery
for AlertCurrentEntity
.Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,AlertDefinitionEntity> |
alertDefinition |
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,AlertHistoryEntity> |
alertHistory |
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,Long> |
alertId |
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,String> |
latestText |
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,Long> |
latestTimestamp |
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,MaintenanceState> |
maintenanceState |
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,Long> |
originalTimestamp |
Constructor and Description |
---|
AlertCurrentEntity_() |
Modifier and Type | Method and Description |
---|---|
static Map<String,List<? extends javax.persistence.metamodel.SingularAttribute<?,?>>> |
getPredicateMapping()
Gets a mapping of between a resource provider property, like
AlertResourceProvider.ALERT_ID to a metamodel
SingularAttribute . |
public static volatile javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,Long> alertId
public static volatile javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,Long> latestTimestamp
public static volatile javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,Long> originalTimestamp
public static volatile javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,MaintenanceState> maintenanceState
public static volatile javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,String> latestText
public static volatile javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,AlertDefinitionEntity> alertDefinition
public static volatile javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,AlertHistoryEntity> alertHistory
public static Map<String,List<? extends javax.persistence.metamodel.SingularAttribute<?,?>>> getPredicateMapping()
AlertResourceProvider.ALERT_ID
to a metamodel
SingularAttribute
.
This is used when converting an Ambari Predicate
into a JPA
Predicate
and we need a type-safe
conversion between "category/property" and JPA field names.
Multiple SingularAttribute
instances can be chained together in
order to provide an entity.subEntity.field
reference.Copyright © 2022 Apache Software Foundation. All rights reserved.