org.hibernate.metadata.ClassMetadata |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The name of the entity
| |||||||||||
This method is deprecated.
Use
getIdentifier(Object, SessionImplementor) instead | |||||||||||
Get the identifier of an instance (throw an exception if no identifier property)
| |||||||||||
Get the name of the identifier property (or return null)
| |||||||||||
Get the identifier Hibernate type
| |||||||||||
The persistent class, or null
| |||||||||||
Which properties hold the natural id?
| |||||||||||
Get the "laziness" of the properties of this class
| |||||||||||
Get the names of the class' persistent properties
| |||||||||||
Get the nullability of the class' persistent properties
| |||||||||||
Get the type of a particular (named) property
| |||||||||||
Get the Hibernate types of the class properties
| |||||||||||
Get the value of a particular (named) property
| |||||||||||
Extract the property values from the given entity.
| |||||||||||
Return the values of the mapped properties of the object
| |||||||||||
Get the version number (or timestamp) from the object's version property
(or return null if not versioned)
| |||||||||||
Get the index of the version property
| |||||||||||
Does this class have an identifier property?
| |||||||||||
Does this entity declare a natural id?
| |||||||||||
Does this class support dynamic proxies?
| |||||||||||
Does this entity have mapped subclasses?
| |||||||||||
Does the class implement the Lifecycle interface?
| |||||||||||
Does the class implement the Validatable interface?
| |||||||||||
Create a class instance initialized with the given identifier
| |||||||||||
This method is deprecated.
Use
instantiate(Serializable, SessionImplementor) instead | |||||||||||
Does this entity extend a mapped superclass?
| |||||||||||
Are instances of this class mutable?
| |||||||||||
Are instances of this class versioned by a timestamp or version number column?
| |||||||||||
This method is deprecated.
Use
setIdentifier(Object, Serializable, SessionImplementor) instead. | |||||||||||
Inject the identifier value into the given entity.
| |||||||||||
Set the value of a particular (named) property
| |||||||||||
Set the given values to the mapped properties of the given object
|
This method is deprecated.
Use getIdentifier(Object, SessionImplementor)
instead
Get the identifier of an instance (throw an exception if no identifier property)
HibernateException |
---|
Get the identifier of an instance (throw an exception if no identifier property)
entity | The entity for which to get the identifier |
---|---|
session | The session from which the request originated |
Get the name of the identifier property (or return null)
Which properties hold the natural id?
Get the "laziness" of the properties of this class
Get the nullability of the class' persistent properties
Get the type of a particular (named) property
HibernateException |
---|
Get the value of a particular (named) property
HibernateException |
---|
Extract the property values from the given entity.
entity | The entity from which to extract the property values. |
---|---|
entityMode | The entity-mode of the given entity |
HibernateException |
---|
Return the values of the mapped properties of the object
HibernateException |
---|
Get the version number (or timestamp) from the object's version property (or return null if not versioned)
HibernateException |
---|
Get the index of the version property
Does this class have an identifier property?
Does this entity declare a natural id?
Does this class support dynamic proxies?
Does this entity have mapped subclasses?
Does the class implement the Lifecycle interface?
Does the class implement the Validatable interface?
Create a class instance initialized with the given identifier
id | The identifier value to use (may be null to represent no value) |
---|---|
session | The session from which the request originated. |
This method is deprecated.
Use instantiate(Serializable, SessionImplementor)
instead
Create a class instance initialized with the given identifier
HibernateException |
---|
Does this entity extend a mapped superclass?
Are instances of this class mutable?
Are instances of this class versioned by a timestamp or version number column?
This method is deprecated.
Use setIdentifier(Object, Serializable, SessionImplementor)
instead.
Inject the identifier value into the given entity.
Has no effect if the entity does not define an identifier propertyentity | The entity to inject with the identifier value. |
---|---|
id | The value to be injected as the identifier. |
entityMode | The entity mode |
HibernateException |
---|
Inject the identifier value into the given entity.
entity | The entity to inject with the identifier value. |
---|---|
id | The value to be injected as the identifier. |
session | The session from which is requests originates |
Set the value of a particular (named) property
HibernateException |
---|
Set the given values to the mapped properties of the given object
HibernateException |
---|