public class Blob extends java.lang.Object implements Model.BinaryField, 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,
SharedSessionContractImplementor session,
java.lang.Object owner) |
void |
nullSafeSet(java.sql.PreparedStatement ps,
java.lang.Object value,
int index,
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 java.lang.Class returnedClass()
returnedClass
in interface UserType
public boolean equals(java.lang.Object o, java.lang.Object o1) throws HibernateException
equals
in interface UserType
HibernateException
public int hashCode(java.lang.Object o) throws HibernateException
hashCode
in interface UserType
HibernateException
public java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner) throws HibernateException, java.sql.SQLException
nullSafeGet
in interface UserType
HibernateException
java.sql.SQLException
public void nullSafeSet(java.sql.PreparedStatement ps, java.lang.Object value, int index, SharedSessionContractImplementor session) throws HibernateException, java.sql.SQLException
nullSafeSet
in interface UserType
HibernateException
java.sql.SQLException
public java.lang.Object deepCopy(java.lang.Object o) throws HibernateException
deepCopy
in interface UserType
HibernateException
public java.io.Serializable disassemble(java.lang.Object o) throws HibernateException
disassemble
in interface UserType
HibernateException
public java.lang.Object assemble(java.io.Serializable cached, java.lang.Object owner) throws HibernateException
assemble
in interface UserType
HibernateException
public java.lang.Object replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner) throws HibernateException
replace
in interface UserType
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