use of org.hibernate.annotations.FilterDef in project hibernate-orm by hibernate.
the class AnnotationBinder method bindFilterDefs.
private static void bindFilterDefs(XAnnotatedElement annotatedElement, MetadataBuildingContext context) {
FilterDef defAnn = annotatedElement.getAnnotation(FilterDef.class);
FilterDefs defsAnn = annotatedElement.getAnnotation(FilterDefs.class);
if (defAnn != null) {
bindFilterDef(defAnn, context);
}
if (defsAnn != null) {
for (FilterDef def : defsAnn.value()) {
bindFilterDef(def, context);
}
}
}
Aggregations