public abstract class AbstractEncryptedAsStringType extends Object implements org.hibernate.usertype.UserType, org.hibernate.usertype.ParameterizedType
| Modifier and Type | Field and Description |
|---|---|
protected org.jasypt.encryption.pbe.PBEStringEncryptor |
encryptor |
| Constructor and Description |
|---|
AbstractEncryptedAsStringType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
assemble(Serializable cached,
Object owner) |
protected void |
checkInitialization() |
protected abstract Object |
convertToObject(String string)
Converts given String to its Object form.
|
protected String |
convertToString(Object object)
Converts given Object to its String form.
|
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value) |
boolean |
equals(Object x,
Object y) |
int |
hashCode(Object x) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet rs,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
Object |
replace(Object original,
Object target,
Object owner) |
abstract Class |
returnedClass() |
void |
setParameterValues(Properties parameters) |
int[] |
sqlTypes() |
protected abstract Object convertToObject(String string)
string - the string valueprotected String convertToString(Object object)
object - the object valuepublic final int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypepublic abstract Class returnedClass()
returnedClass in interface org.hibernate.usertype.UserTypepublic final boolean equals(Object x, Object y) throws org.hibernate.HibernateException
equals in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic final Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic final Object assemble(Serializable cached, Object owner) throws org.hibernate.HibernateException
assemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic final Serializable disassemble(Object value) throws org.hibernate.HibernateException
disassemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic final boolean isMutable()
isMutable in interface org.hibernate.usertype.UserTypepublic final int hashCode(Object x) throws org.hibernate.HibernateException
hashCode in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic final Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException
replace in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic void setParameterValues(Properties parameters)
setParameterValues in interface org.hibernate.usertype.ParameterizedTypeprotected final void checkInitialization()
Copyright © 2019 The JASYPT team. All rights reserved.