Class ParameterizedParameterType

java.lang.Object
io.hypersistence.utils.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
  • Constructor Details

    • ParameterizedParameterType

      public ParameterizedParameterType(Class<?> clasz)
  • Method Details

    • 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
    • getColumnLengths

      public Long[] getColumnLengths()
      Specified by:
      getColumnLengths in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType