public class ParameterTypeUtils extends Object
ParameterizedTypeUtils - DynamicParameterizedType.ParameterType utilities holder.| Modifier and Type | Method and Description |
|---|---|
static <A extends Annotation> |
getAnnotationOrNull(org.hibernate.usertype.DynamicParameterizedType.ParameterType parameterType,
Class<A> annotationClass)
Get the required annotation from the
DynamicParameterizedType.ParameterType instance. |
static <A extends Annotation> |
getAnnotations(org.hibernate.usertype.DynamicParameterizedType.ParameterType parameterType,
Class<A> annotationClass)
Get the required annotations from the
DynamicParameterizedType.ParameterType instance. |
static String |
getColumnType(org.hibernate.usertype.DynamicParameterizedType.ParameterType parameterType)
Get the column type association from the
DynamicParameterizedType.ParameterType instance. |
static org.hibernate.usertype.DynamicParameterizedType.ParameterType |
resolve(Properties properties)
Resolve the
DynamicParameterizedType.ParameterType instance
from the provided Properties object. |
public static org.hibernate.usertype.DynamicParameterizedType.ParameterType resolve(Properties properties)
DynamicParameterizedType.ParameterType instance
from the provided Properties object.properties - configuration propertiesDynamicParameterizedType.ParameterType instancepublic static <A extends Annotation> A getAnnotationOrNull(org.hibernate.usertype.DynamicParameterizedType.ParameterType parameterType, Class<A> annotationClass)
DynamicParameterizedType.ParameterType instance.parameterType - DynamicParameterizedType.ParameterType instanceannotationClass - annotation classpublic static <A extends Annotation> List<A> getAnnotations(org.hibernate.usertype.DynamicParameterizedType.ParameterType parameterType, Class<A> annotationClass)
DynamicParameterizedType.ParameterType instance.parameterType - DynamicParameterizedType.ParameterType instanceannotationClass - annotation classpublic static String getColumnType(org.hibernate.usertype.DynamicParameterizedType.ParameterType parameterType)
DynamicParameterizedType.ParameterType instance.parameterType - DynamicParameterizedType.ParameterType instanceCopyright © 2023. All rights reserved.