com.vladmihalcea.hibernate.type.util
Class ParameterizedParameterType
java.lang.Object
com.vladmihalcea.hibernate.type.util.ParameterizedParameterType
- All Implemented Interfaces:
- org.hibernate.usertype.DynamicParameterizedType.ParameterType
public class ParameterizedParameterType
- extends Object
- implements org.hibernate.usertype.DynamicParameterizedType.ParameterType
A stub ParameterType
that returns sane values for getReturnedClass()
and
getAnnotationsMethod()
.
- Author:
- Jan-Willem Gmelig Meyling
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterizedParameterType
public ParameterizedParameterType(Class<?> clasz)
getReturnedClass
public Class getReturnedClass()
- Specified by:
getReturnedClass
in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
getAnnotationsMethod
public Annotation[] getAnnotationsMethod()
- Specified by:
getAnnotationsMethod
in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
getCatalog
public String getCatalog()
- Specified by:
getCatalog
in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
getSchema
public String getSchema()
- Specified by:
getSchema
in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
getTable
public String getTable()
- Specified by:
getTable
in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
isPrimaryKey
public boolean isPrimaryKey()
- Specified by:
isPrimaryKey
in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
getColumns
public String[] getColumns()
- Specified by:
getColumns
in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
Copyright © 2021. All rights reserved.