Package com.axelor.db.hibernate.type
Class EncryptedStringTypeDescriptor
- java.lang.Object
-
- org.hibernate.type.descriptor.java.AbstractTypeDescriptor<String>
-
- org.hibernate.type.descriptor.java.StringTypeDescriptor
-
- com.axelor.db.hibernate.type.EncryptedStringTypeDescriptor
-
- All Implemented Interfaces:
Serializable,BasicJavaDescriptor<String>,JavaTypeDescriptor<String>
public class EncryptedStringTypeDescriptor extends StringTypeDescriptor
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EncryptedStringTypeDescriptorINSTANCE
-
Constructor Summary
Constructors Constructor Description EncryptedStringTypeDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> Xunwrap(String value, Class<X> type, WrapperOptions options)<X> Stringwrap(X value, WrapperOptions options)-
Methods inherited from class org.hibernate.type.descriptor.java.StringTypeDescriptor
fromString, toString
-
Methods inherited from class org.hibernate.type.descriptor.java.AbstractTypeDescriptor
areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.java.BasicJavaDescriptor
getJdbcRecommendedSqlType
-
-
-
-
Field Detail
-
INSTANCE
public static final EncryptedStringTypeDescriptor INSTANCE
-
-
Method Detail
-
unwrap
public <X> X unwrap(String value, Class<X> type, WrapperOptions options)
- Specified by:
unwrapin interfaceJavaTypeDescriptor<String>- Overrides:
unwrapin classStringTypeDescriptor
-
wrap
public <X> String wrap(X value, WrapperOptions options)
- Specified by:
wrapin interfaceJavaTypeDescriptor<String>- Overrides:
wrapin classStringTypeDescriptor
-
-