public class JPATemporalAnnotationHelper extends Object implements AnnotationHelper
AnnotationHelper that handles JPA Temporal annotation.| Modifier and Type | Field and Description |
|---|---|
static JPATemporalAnnotationHelper |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCustomKey(Annotation annotation)
Get specific object that will be used as part of type cache key.
|
com.mysema.codegen.model.TypeCategory |
getTypeByAnnotation(Class<?> cl,
Annotation annotation)
Get the
TypeCategory according with object Class and Annotation. |
boolean |
isSupported(Class<? extends Annotation> annotationClass)
Verify if AnnotationHelper instance can handle the annotation.
|
public static final JPATemporalAnnotationHelper INSTANCE
public boolean isSupported(Class<? extends Annotation> annotationClass)
AnnotationHelperisSupported in interface AnnotationHelperannotationClass - Annotation class.true if this AnnotationHelper can handle the annotation.public Object getCustomKey(Annotation annotation)
AnnotationHelpergetCustomKey in interface AnnotationHelperannotation - Annotation instance.null.public com.mysema.codegen.model.TypeCategory getTypeByAnnotation(Class<?> cl, Annotation annotation)
AnnotationHelperTypeCategory according with object Class and Annotation.getTypeByAnnotation in interface AnnotationHelpercl - Class of type.annotation - Annotation found on element.TypeCategory.Copyright © 2007–2015 Querydsl. All rights reserved.