The IClassMetadata type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | GetIdentifier |
Get the identifier of an instance (throw an exception if no identifier property)
|
![]() | GetPropertyType |
Get the type of a particular (named) property
|
![]() | GetPropertyValue |
Get the value of a particular (named) property
|
![]() | GetPropertyValues |
Return the values of the mapped properties of the object
|
![]() | GetVersion |
Get the version number (or timestamp) from the object's version property
(or return null if not versioned)
|
![]() | Instantiate |
Create a class instance initialized with the given identifier
|
![]() | SetIdentifier |
Set the identifier of an instance (or do nothing if no identifier property)
|
![]() | SetPropertyValue |
Set the value of a particular (named) property
|
![]() | SetPropertyValues |
Set the given values to the mapped properties of the given object
|
Properties
Name | Description | |
---|---|---|
![]() | HasIdentifierProperty |
Does the class have an identifier property?
|
![]() | HasProxy |
Does the class support dynamic proxies?
|
![]() | IdentifierPropertyName |
The name of the identifier property (or return null)
|
![]() | IdentifierType |
The identifier Hibernate type
|
![]() | ImplementsLifecycle |
Does the class implement the ILifecycle interface?
|
![]() | ImplementsValidatable |
Does the class implement the IValidatable inteface?
|
![]() | IsMutable |
Are instances of this class mutable?
|
![]() | IsVersioned |
Are instances of this class versioned by a timestamp or version number column?
|
![]() | MappedClass |
The persistent class
|
![]() | PropertyNames |
The names of the class' persistent properties
|
![]() | PropertyNullability |
Get the nullability of the class' persistent properties
|
![]() | PropertyTypes |
The Hibernate types of the classes properties
|
![]() | VersionProperty |
Gets the index of the version property
|