Class UlidTypeDescriptor
- java.lang.Object
-
- org.hibernate.type.descriptor.java.AbstractTypeDescriptor<String>
-
- com.broadleafcommerce.data.tracking.jpa.hibernate.UlidTypeDescriptor
-
- All Implemented Interfaces:
Serializable,org.hibernate.type.descriptor.java.BasicJavaDescriptor<String>,org.hibernate.type.descriptor.java.JavaTypeDescriptor<String>
public class UlidTypeDescriptor extends org.hibernate.type.descriptor.java.AbstractTypeDescriptor<String>
Describe the type of the id field as represented in the java object. Also provide conversion functionality to achieve the format expected on the database side (i.e. string or binary).- Author:
- Jeff Fischer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static UlidTypeDescriptorINSTANCE
-
Constructor Summary
Constructors Constructor Description UlidTypeDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfromString(String string)StringtoString(String value)<X> Xunwrap(String value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)<X> Stringwrap(X value, org.hibernate.type.descriptor.WrapperOptions options)-
Methods inherited from class org.hibernate.type.descriptor.java.AbstractTypeDescriptor
areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap
-
-
-
-
Field Detail
-
INSTANCE
public static final UlidTypeDescriptor INSTANCE
-
-