public class Blob extends java.lang.Object implements Model.BinaryField, org.hibernate.usertype.UserType
Constructor and Description |
---|
Blob() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
assemble(java.io.Serializable cached,
java.lang.Object owner) |
java.lang.Object |
deepCopy(java.lang.Object o) |
java.io.Serializable |
disassemble(java.lang.Object o) |
boolean |
equals(java.lang.Object o,
java.lang.Object o1) |
boolean |
exists() |
java.io.InputStream |
get() |
java.io.File |
getFile() |
static java.io.File |
getStore() |
java.lang.String |
getUUID() |
static java.lang.String |
getUUID(java.lang.String dbValue) |
int |
hashCode(java.lang.Object o) |
boolean |
isMutable() |
long |
length() |
java.lang.Object |
nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
java.lang.Object owner) |
void |
nullSafeSet(java.sql.PreparedStatement ps,
java.lang.Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
java.lang.Object |
replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner) |
java.lang.Class |
returnedClass() |
void |
set(java.io.InputStream is,
java.lang.String type) |
int[] |
sqlTypes() |
java.lang.String |
type() |
public java.io.InputStream get()
get
in interface Model.BinaryField
public void set(java.io.InputStream is, java.lang.String type)
set
in interface Model.BinaryField
public long length()
length
in interface Model.BinaryField
public java.lang.String type()
type
in interface Model.BinaryField
public boolean exists()
exists
in interface Model.BinaryField
public java.io.File getFile()
public java.lang.String getUUID()
public int[] sqlTypes()
sqlTypes
in interface org.hibernate.usertype.UserType
public java.lang.Class returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
public boolean equals(java.lang.Object o, java.lang.Object o1) throws org.hibernate.HibernateException
equals
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public int hashCode(java.lang.Object o) throws org.hibernate.HibernateException
hashCode
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, java.lang.Object owner) throws org.hibernate.HibernateException, java.sql.SQLException
nullSafeGet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
java.sql.SQLException
public void nullSafeSet(java.sql.PreparedStatement ps, java.lang.Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException, java.sql.SQLException
nullSafeSet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
java.sql.SQLException
public java.lang.Object deepCopy(java.lang.Object o) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.UserType
public java.io.Serializable disassemble(java.lang.Object o) throws org.hibernate.HibernateException
disassemble
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public java.lang.Object assemble(java.io.Serializable cached, java.lang.Object owner) throws org.hibernate.HibernateException
assemble
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public java.lang.Object replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner) throws org.hibernate.HibernateException
replace
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public static java.lang.String getUUID(java.lang.String dbValue)
public static java.io.File getStore()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly