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.BinaryFieldpublic void set(java.io.InputStream is,
java.lang.String type)
set in interface Model.BinaryFieldpublic long length()
length in interface Model.BinaryFieldpublic java.lang.String type()
type in interface Model.BinaryFieldpublic boolean exists()
exists in interface Model.BinaryFieldpublic java.io.File getFile()
public java.lang.String getUUID()
public java.lang.Class returnedClass()
returnedClass in interface UserTypepublic boolean equals(java.lang.Object o,
java.lang.Object o1)
throws HibernateException
equals in interface UserTypeHibernateExceptionpublic int hashCode(java.lang.Object o)
throws HibernateException
hashCode in interface UserTypeHibernateExceptionpublic 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 UserTypeHibernateExceptionjava.sql.SQLExceptionpublic void nullSafeSet(java.sql.PreparedStatement ps,
java.lang.Object value,
int index,
SharedSessionContractImplementor session)
throws HibernateException,
java.sql.SQLException
nullSafeSet in interface UserTypeHibernateExceptionjava.sql.SQLExceptionpublic java.lang.Object deepCopy(java.lang.Object o)
throws HibernateException
deepCopy in interface UserTypeHibernateExceptionpublic java.io.Serializable disassemble(java.lang.Object o)
throws HibernateException
disassemble in interface UserTypeHibernateExceptionpublic java.lang.Object assemble(java.io.Serializable cached,
java.lang.Object owner)
throws HibernateException
assemble in interface UserTypeHibernateExceptionpublic java.lang.Object replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner)
throws HibernateException
replace in interface UserTypeHibernateExceptionpublic 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