Class ParameterizedParameterType

  • All Implemented Interfaces:
    org.hibernate.usertype.DynamicParameterizedType.ParameterType

    public class ParameterizedParameterType
    extends java.lang.Object
    implements org.hibernate.usertype.DynamicParameterizedType.ParameterType
    A stub ParameterType that returns sane values for getReturnedClass() and getAnnotationsMethod().
    • Field Detail

      • clasz

        private final java.lang.Class<?> clasz
    • Constructor Detail

      • ParameterizedParameterType

        public ParameterizedParameterType​(java.lang.Class<?> clasz)
    • Method Detail

      • getReturnedClass

        public java.lang.Class getReturnedClass()
        Specified by:
        getReturnedClass in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
      • getAnnotationsMethod

        public java.lang.annotation.Annotation[] getAnnotationsMethod()
        Specified by:
        getAnnotationsMethod in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
      • getCatalog

        public java.lang.String getCatalog()
        Specified by:
        getCatalog in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
      • getSchema

        public java.lang.String getSchema()
        Specified by:
        getSchema in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType
      • getTable

        public java.lang.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 java.lang.String[] getColumns()
        Specified by:
        getColumns in interface org.hibernate.usertype.DynamicParameterizedType.ParameterType