Methods Summary |
---|
public java.lang.String | getEntityName()The name of the entity
|
public java.io.Serializable | getIdentifier(java.lang.Object entity, org.hibernate.EntityMode entityMode)Get the identifier of an instance (throw an exception if no identifier property)
|
public java.lang.String | getIdentifierPropertyName()Get the name of the identifier property (or return null)
|
public org.hibernate.type.Type | getIdentifierType()Get the identifier Hibernate type
|
public java.lang.Class | getMappedClass(org.hibernate.EntityMode entityMode)The persistent class, or null
|
public int[] | getNaturalIdentifierProperties()Which properties hold the natural id?
|
public boolean[] | getPropertyLaziness()Get the "laziness" of the properties of this class
|
public java.lang.String[] | getPropertyNames()Get the names of the class' persistent properties
|
public boolean[] | getPropertyNullability()Get the nullability of the class' persistent properties
|
public org.hibernate.type.Type | getPropertyType(java.lang.String propertyName)Get the type of a particular (named) property
|
public org.hibernate.type.Type[] | getPropertyTypes()Get the Hibernate types of the class properties
|
public java.lang.Object | getPropertyValue(java.lang.Object object, java.lang.String propertyName, org.hibernate.EntityMode entityMode)Get the value of a particular (named) property
|
public java.lang.Object[] | getPropertyValues(java.lang.Object entity, org.hibernate.EntityMode entityMode)Extract the property values from the given entity.
|
public java.lang.Object[] | getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, org.hibernate.engine.SessionImplementor session)Return the values of the mapped properties of the object
|
public java.lang.Object | getVersion(java.lang.Object object, org.hibernate.EntityMode entityMode)Get the version number (or timestamp) from the object's version property
(or return null if not versioned)
|
public int | getVersionProperty()Get the index of the version property
|
public boolean | hasIdentifierProperty()Does this class have an identifier property?
|
public boolean | hasNaturalIdentifier()Does this entity declare a natural id?
|
public boolean | hasProxy()Does this class support dynamic proxies?
|
public boolean | hasSubclasses()Does this entity have mapped subclasses?
|
public boolean | implementsLifecycle(org.hibernate.EntityMode entityMode)Does the class implement the Lifecycle interface?
|
public boolean | implementsValidatable(org.hibernate.EntityMode entityMode)Does the class implement the Validatable interface?
|
public java.lang.Object | instantiate(java.io.Serializable id, org.hibernate.EntityMode entityMode)Create a class instance initialized with the given identifier
|
public boolean | isInherited()Does this entity extend a mapped superclass?
|
public boolean | isMutable()Are instances of this class mutable?
|
public boolean | isVersioned()Are instances of this class versioned by a timestamp or version number column?
|
public void | setIdentifier(java.lang.Object object, java.io.Serializable id, org.hibernate.EntityMode entityMode)Set the identifier of an instance (or do nothing if no identifier property)
|
public void | setPropertyValue(java.lang.Object object, java.lang.String propertyName, java.lang.Object value, org.hibernate.EntityMode entityMode)Set the value of a particular (named) property
|
public void | setPropertyValues(java.lang.Object object, java.lang.Object[] values, org.hibernate.EntityMode entityMode)Set the given values to the mapped properties of the given object
|