public class JsonTypeDescriptor extends org.hibernate.type.descriptor.java.AbstractTypeDescriptor<Object> implements org.hibernate.usertype.DynamicParameterizedType
Constructor and Description |
---|
JsonTypeDescriptor() |
JsonTypeDescriptor(ObjectMapperWrapper objectMapperWrapper) |
JsonTypeDescriptor(ObjectMapperWrapper objectMapperWrapper,
Type type) |
JsonTypeDescriptor(Type type) |
Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(Object one,
Object another) |
Object |
fromString(String string) |
void |
setParameterValues(Properties parameters) |
String |
toString(Object value) |
<X> X |
unwrap(Object value,
Class<X> type,
org.hibernate.type.descriptor.WrapperOptions options) |
<X> Object |
wrap(X value,
org.hibernate.type.descriptor.WrapperOptions options) |
extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap
public JsonTypeDescriptor()
public JsonTypeDescriptor(Type type)
public JsonTypeDescriptor(ObjectMapperWrapper objectMapperWrapper)
public JsonTypeDescriptor(ObjectMapperWrapper objectMapperWrapper, Type type)
public void setParameterValues(Properties parameters)
setParameterValues
in interface org.hibernate.usertype.ParameterizedType
public String toString(Object value)
toString
in interface org.hibernate.type.descriptor.java.JavaTypeDescriptor<Object>
public Object fromString(String string)
fromString
in interface org.hibernate.type.descriptor.java.JavaTypeDescriptor<Object>
public <X> X unwrap(Object value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)
unwrap
in interface org.hibernate.type.descriptor.java.JavaTypeDescriptor<Object>
Copyright © 2021. All rights reserved.