[Expand]
Inherited Methods |
From class
org.hibernate.type.AnyType
Object
|
assemble(Serializable cached, SessionImplementor session, Object owner)
Reconstruct the object from its cached "disassembled" state.
|
int
|
compare(Object x, Object y, EntityMode entityMode)
Perform a Comparator style comparison between values
|
Object
|
deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
Return a deep copy of the persistent state, stopping at entities and at
collections.
|
Serializable
|
disassemble(Object value, SessionImplementor session, Object owner)
Return a cacheable "disassembled" representation of the object.
|
Object
|
fromXMLNode(Node xml, Mapping factory)
Parse the XML representation of an instance.
|
String
|
getAssociatedEntityName(SessionFactoryImplementor factory)
Get the entity name of the associated entity
|
Joinable
|
getAssociatedJoinable(SessionFactoryImplementor factory)
Get the "persister" for this association - a class or
collection persister
|
CascadeStyle
|
getCascadeStyle(int i)
Retrieve the cascade style of the indicated component property.
|
int
|
getColumnSpan(Mapping session)
How many columns are used to persist this type.
|
FetchMode
|
getFetchMode(int i)
Retrieve the fetch mode of the indicated component property.
|
ForeignKeyDirection
|
getForeignKeyDirection()
Get the foreign key directionality of this association
|
String
|
getLHSPropertyName()
Get the name of a property in the owning entity
that provides the join key (null if the identifier)
|
String
|
getName()
Returns the abbreviated name of the type.
|
String
|
getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)
Get the "filtering" SQL fragment that is applied in the
SQL on clause, in addition to the usual join condition
|
String[]
|
getPropertyNames()
Get the names of the component properties
|
boolean[]
|
getPropertyNullability()
Retrieve the indicators regarding which component properties are nullable.
|
Object
|
getPropertyValue(Object component, int i, SessionImplementor session)
Extract a particular component property value indicated by index.
|
Object[]
|
getPropertyValues(Object component, SessionImplementor session)
Extract the values of the component properties from the given component instance
|
Object[]
|
getPropertyValues(Object component, EntityMode entityMode)
Extract the values of the component properties from the given component instance without access to the
session.
|
String
|
getRHSUniqueKeyPropertyName()
The name of a unique property of the associated entity
that provides the join key (null if the identifier of
an entity, or key of a collection)
|
Class
|
getReturnedClass()
|
Type[]
|
getSubtypes()
Get the types of the component properties
|
Object
|
hydrate(ResultSet rs, String[] names, SessionImplementor session, Object owner)
Retrieve an instance of the mapped class, or the identifier of an entity or collection,
from a JDBC resultset.
|
boolean
|
isAlwaysDirtyChecked()
Do we dirty check this association, even when there are
no columns to be updated?
|
boolean
|
isAnyType()
Return true if the implementation is castable to AnyType .
|
boolean
|
isAssociationType()
|
boolean
|
isComponentType()
|
boolean
|
isDirty(Object old, Object current, boolean[] checkable, SessionImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean
|
isEmbedded()
Is this component embedded? "embedded" indicates that the component is "virtual", that its properties are
"flattened" onto its owner
|
boolean
|
isEmbeddedInXML()
|
boolean
|
isMethodOf(Method method)
Is the given method a member of this component's class?
|
boolean
|
isModified(Object old, Object current, boolean[] checkable, SessionImplementor session)
|
boolean
|
isMutable()
Are objects of this type mutable.
|
boolean
|
isReferenceToPrimaryKey()
|
boolean
|
isSame(Object x, Object y, EntityMode entityMode)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state) taking a shortcut for entity references.
|
Object
|
nullSafeGet(ResultSet rs, String name, SessionImplementor session, Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
Object
|
nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
void
|
nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SessionImplementor session)
Write an instance of the mapped class to a prepared statement, ignoring some columns.
|
void
|
nullSafeSet(PreparedStatement st, Object value, int index, SessionImplementor session)
Write an instance of the mapped class to a prepared statement.
|
Object
|
replace(Object original, Object target, SessionImplementor session, Object owner, Map copyCache)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
Object
|
resolve(Object value, SessionImplementor session, Object owner)
Map identifiers to entities or collections.
|
Object
|
semiResolve(Object value, SessionImplementor session, Object owner)
Given a hydrated, but unresolved value, return a value that may be used to
reconstruct property-ref associations.
|
void
|
setPropertyValues(Object component, Object[] values, EntityMode entityMode)
Inject property values onto the given component instance
An optional operation
|
void
|
setToXMLNode(Node xml, Object value, SessionFactoryImplementor factory)
A representation of the value to be embedded in an XML element.
|
int[]
|
sqlTypes(Mapping mapping)
Return the JDBC types codes (per java.sql.Types) for the columns mapped by this type.
|
boolean[]
|
toColumnNullness(Object value, Mapping mapping)
Given an instance of the type, return an array of boolean, indicating
which mapped columns would be null.
|
String
|
toLoggableString(Object value, SessionFactoryImplementor factory)
A representation of the value to be embedded in a log file.
|
boolean
|
useLHSPrimaryKey()
Is the primary key of the owning entity table
to be used in the join?
|
|
From class
org.hibernate.type.AbstractType
Object
|
assemble(Serializable cached, SessionImplementor session, Object owner)
Reconstruct the object from its cached "disassembled" state.
|
void
|
beforeAssemble(Serializable cached, SessionImplementor session)
Called before assembling a query result set from the query cache, to allow batch fetching
of entities missing from the second-level cache.
|
int
|
compare(Object x, Object y, EntityMode entityMode)
Perform a Comparator style comparison between values
|
Serializable
|
disassemble(Object value, SessionImplementor session, Object owner)
Return a cacheable "disassembled" representation of the object.
|
int
|
getHashCode(Object x, EntityMode entityMode)
Get a hash code, consistent with persistence "equality".
|
int
|
getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
Get a hash code, consistent with persistence "equality".
|
Type
|
getSemiResolvedType(SessionFactoryImplementor factory)
Get the type of a semi-resolved value.
|
Object
|
hydrate(ResultSet rs, String[] names, SessionImplementor session, Object owner)
Retrieve an instance of the mapped class, or the identifier of an entity or collection,
from a JDBC resultset.
|
boolean
|
isAnyType()
Return true if the implementation is castable to AnyType .
|
boolean
|
isAssociationType()
|
boolean
|
isCollectionType()
|
boolean
|
isComponentType()
|
boolean
|
isDirty(Object old, Object current, SessionImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean
|
isEntityType()
Return true if the implementation is castable to EntityType .
|
boolean
|
isEqual(Object x, Object y, EntityMode entityMode)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
boolean
|
isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
boolean
|
isModified(Object old, Object current, boolean[] checkable, SessionImplementor session)
|
boolean
|
isSame(Object x, Object y, EntityMode entityMode)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state) taking a shortcut for entity references.
|
boolean
|
isXMLElement()
|
Object
|
replace(Object original, Object target, SessionImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
static
void
|
replaceNode(Node container, Element value)
|
Object
|
resolve(Object value, SessionImplementor session, Object owner)
Map identifiers to entities or collections.
|
Object
|
semiResolve(Object value, SessionImplementor session, Object owner)
Given a hydrated, but unresolved value, return a value that may be used to
reconstruct property-ref associations.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.hibernate.type.AssociationType
|
From interface
org.hibernate.type.BasicType
|
From interface
org.hibernate.type.CompositeType
|
From interface
org.hibernate.type.Type
abstract
Object
|
assemble(Serializable cached, SessionImplementor session, Object owner)
Reconstruct the object from its cached "disassembled" state.
|
abstract
void
|
beforeAssemble(Serializable cached, SessionImplementor session)
Called before assembling a query result set from the query cache, to allow batch fetching
of entities missing from the second-level cache.
|
abstract
int
|
compare(Object x, Object y, EntityMode entityMode)
Perform a Comparator style comparison between values
|
abstract
Object
|
deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
Return a deep copy of the persistent state, stopping at entities and at
collections.
|
abstract
Serializable
|
disassemble(Object value, SessionImplementor session, Object owner)
Return a cacheable "disassembled" representation of the object.
|
abstract
Object
|
fromXMLNode(Node xml, Mapping factory)
Parse the XML representation of an instance.
|
abstract
int
|
getColumnSpan(Mapping mapping)
How many columns are used to persist this type.
|
abstract
int
|
getHashCode(Object x, EntityMode entityMode)
Get a hash code, consistent with persistence "equality".
|
abstract
int
|
getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
Get a hash code, consistent with persistence "equality".
|
abstract
String
|
getName()
Returns the abbreviated name of the type.
|
abstract
Class
|
getReturnedClass()
|
abstract
Type
|
getSemiResolvedType(SessionFactoryImplementor factory)
Get the type of a semi-resolved value.
|
abstract
Object
|
hydrate(ResultSet rs, String[] names, SessionImplementor session, Object owner)
Retrieve an instance of the mapped class, or the identifier of an entity or collection,
from a JDBC resultset.
|
abstract
boolean
|
isAnyType()
Return true if the implementation is castable to AnyType .
|
abstract
boolean
|
isAssociationType()
|
abstract
boolean
|
isCollectionType()
|
abstract
boolean
|
isComponentType()
|
abstract
boolean
|
isDirty(Object oldState, Object currentState, boolean[] checkable, SessionImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
abstract
boolean
|
isDirty(Object old, Object current, SessionImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
abstract
boolean
|
isEntityType()
Return true if the implementation is castable to EntityType .
|
abstract
boolean
|
isEqual(Object x, Object y, EntityMode entityMode)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
abstract
boolean
|
isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
abstract
boolean
|
isModified(Object dbState, Object currentState, boolean[] checkable, SessionImplementor session)
|
abstract
boolean
|
isMutable()
Are objects of this type mutable.
|
abstract
boolean
|
isSame(Object x, Object y, EntityMode entityMode)
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state) taking a shortcut for entity references.
|
abstract
boolean
|
isXMLElement()
|
abstract
Object
|
nullSafeGet(ResultSet rs, String name, SessionImplementor session, Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
abstract
Object
|
nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
abstract
void
|
nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SessionImplementor session)
Write an instance of the mapped class to a prepared statement, ignoring some columns.
|
abstract
void
|
nullSafeSet(PreparedStatement st, Object value, int index, SessionImplementor session)
Write an instance of the mapped class to a prepared statement.
|
abstract
Object
|
replace(Object original, Object target, SessionImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
abstract
Object
|
replace(Object original, Object target, SessionImplementor session, Object owner, Map copyCache)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
abstract
Object
|
resolve(Object value, SessionImplementor session, Object owner)
Map identifiers to entities or collections.
|
abstract
Object
|
semiResolve(Object value, SessionImplementor session, Object owner)
Given a hydrated, but unresolved value, return a value that may be used to
reconstruct property-ref associations.
|
abstract
void
|
setToXMLNode(Node node, Object value, SessionFactoryImplementor factory)
A representation of the value to be embedded in an XML element.
|
abstract
int[]
|
sqlTypes(Mapping mapping)
Return the JDBC types codes (per java.sql.Types) for the columns mapped by this type.
|
abstract
boolean[]
|
toColumnNullness(Object value, Mapping mapping)
Given an instance of the type, return an array of boolean, indicating
which mapped columns would be null.
|
abstract
String
|
toLoggableString(Object value, SessionFactoryImplementor factory)
A representation of the value to be embedded in a log file.
|
|