Package ome.util

Class PrivilegedStringTypeDescriptor

    • Constructor Detail

      • PrivilegedStringTypeDescriptor

        public PrivilegedStringTypeDescriptor()
    • Method Detail

      • getFilter

        protected abstract java.util.function.Function<java.lang.Long,​java.lang.Boolean> getFilter()
        Returns:
        the filter for this descriptor
      • getFilterFailure

        protected java.lang.String getFilterFailure()
        Returns:
        the value that this descriptor returns when the filter blocks the underlying value
      • wrap

        public <X> java.lang.String wrap​(X stringLike,
                                         org.hibernate.type.descriptor.WrapperOptions options)
        Specified by:
        wrap in interface org.hibernate.type.descriptor.java.JavaTypeDescriptor<java.lang.String>
        Overrides:
        wrap in class org.hibernate.type.descriptor.java.StringTypeDescriptor