The IType type exposes the following members.

Methods

  NameDescription
Public methodAssemble
Reconstruct the object from its cached "disassembled" state.
(Inherited from ICacheAssembler.)
Public methodBeforeAssemble
Called before assembling a query result set from the query cache, to allow batch fetching of entities missing from the second-level cache.
(Inherited from ICacheAssembler.)
Public methodCompare
compare two instances of the type
Public methodDeepCopy
When implemented by a class, returns a deep copy of the persistent state, stopping at entities and at collections.
Public methodDisassemble
Return a cacheable "disassembled" representation of the object.
(Inherited from ICacheAssembler.)
Public methodFromXMLNode
Parse the XML representation of an instance.
Public methodGetColumnSpan
When implemented by a class, returns how many columns are used to persist this type.
Public methodGetHashCode(Object, EntityMode)
Get a hashcode, consistent with persistence "equality"
Public methodGetHashCode(Object, EntityMode, ISessionFactoryImplementor)
Get a hashcode, consistent with persistence "equality"
Public methodGetSemiResolvedType
Get the type of a semi-resolved value.
Public methodHydrate
When implemented by a class, retrieves an instance of the mapped class, or the identifier of an entity or collection from a IDataReader.
Public methodIsDirty(Object, Object, ISessionImplementor)
When implemented by a class, should the parent be considered dirty, given both the old and current field or element value?
Public methodIsDirty(Object, Object, array<Boolean>[]()[][], ISessionImplementor)
Public methodIsEqual(Object, Object, EntityMode)
Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
Public methodIsEqual(Object, Object, EntityMode, ISessionFactoryImplementor)
Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
Public methodIsModified
Public methodIsSame
Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state - taking a shortcut for entity references.
Public methodNullSafeGet(IDataReader, String, ISessionImplementor, Object)
When implemented by a class, gets an instance of the object mapped by this IType from the IDataReader.
Public methodNullSafeGet(IDataReader, array<String>[]()[][], ISessionImplementor, Object)
When implemented by a class, gets an instance of the object mapped by this IType from the IDataReader.
Public methodNullSafeSet(IDbCommand, Object, Int32, ISessionImplementor)
When implemented by a class, puts the value/values from the mapped class into the IDbCommand.
Public methodNullSafeSet(IDbCommand, Object, Int32, array<Boolean>[]()[][], ISessionImplementor)
When implemented by a class, puts the value/values from the mapped class into the IDbCommand.
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary)
Public methodReplace(Object, Object, ISessionImplementor, Object, IDictionary, 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. For immutable objects, or null values, it is safe to simply return the first parameter. For mutable objects, it is safe to return a copy of the first parameter. For objects with component values, it might make sense to recursively replace component values.
Public methodResolveIdentifier
When implemented by a class, maps identifiers to Entities or Collections.
Public methodSemiResolve
Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref associations.
Public methodSetToXMLNode
A representation of the value to be embedded in an XML element.
Public methodSqlTypes
When implemented by a class, returns the SqlTypes for the columns mapped by this IType.
Public methodToColumnNullness
Given an instance of the type, return an array of boolean, indicating which mapped columns would be null.
Public methodToLoggableString
When implemented by a class, a representation of the value to be embedded in an XML element

Properties

  NameDescription
Public propertyIsAnyType
Public propertyIsAssociationType
When implemented by a class, gets a value indicating if the implementor is castable to an an IAssociationType
Public propertyIsCollectionType
When implemented by a class, gets a value indicating if the implementor is a collection type
Public propertyIsComponentType
When implemented by a class, gets a value indicating if the implementor is an IAbstractComponentType.
Public propertyIsEntityType
When implemented by a class, gets a value indicating if the implementor extends EntityType
Public propertyIsMutable
When implemented by a class, gets the value indicating if the objects of this IType are mutable.
Public propertyIsXMLElement
Public propertyName
When implemented by a class, gets the abbreviated name of the type.
Public propertyReturnedClass
When implemented by a class, gets the Type returned by the NullSafeGet() methods.

See Also