|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.tuple.AbstractEntityTuplizer
org.progeeks.hibernate.MetaObjectTuplizer
public class MetaObjectTuplizer
Implementation of a tuplizer for MetaObjects
Field Summary |
---|
Fields inherited from class org.hibernate.tuple.AbstractEntityTuplizer |
---|
getters, hasCustomAccessors, propertySpan, setters |
Constructor Summary | |
---|---|
MetaObjectTuplizer(org.hibernate.tuple.EntityMetamodel entityMetamodel,
org.hibernate.mapping.PersistentClass mappedEntity)
|
Method Summary | |
---|---|
protected org.hibernate.tuple.Instantiator |
buildInstantiator(org.hibernate.mapping.PersistentClass mappingInfo)
Build an appropriate Instantiator for the given mapped entity. |
protected org.hibernate.property.Getter |
buildPropertyGetter(org.hibernate.mapping.Property mappedProperty,
org.hibernate.mapping.PersistentClass mappedEntity)
Build an appropriate Getter for the given property. |
protected org.hibernate.property.Setter |
buildPropertySetter(org.hibernate.mapping.Property mappedProperty,
org.hibernate.mapping.PersistentClass mappedEntity)
Build an appropriate Setter for the given property. |
protected org.hibernate.proxy.ProxyFactory |
buildProxyFactory(org.hibernate.mapping.PersistentClass mappingInfo,
org.hibernate.property.Getter idGetter,
org.hibernate.property.Setter idSetter)
|
java.lang.Class |
getConcreteProxyClass()
|
protected org.hibernate.EntityMode |
getEntityMode()
Return the entity-mode handled by this tuplizer instance. |
java.lang.Class |
getMappedClass()
|
java.lang.Object |
getPropertyValue(java.lang.Object entity,
int i)
Extract the value of a particular property from the given entity. |
java.lang.Object |
getPropertyValue(java.lang.Object entity,
java.lang.String propertyName)
Extract the value of a particular property from the given entity. |
java.lang.Object[] |
getPropertyValues(java.lang.Object entity)
|
boolean |
isInstrumented()
Is it an instrumented POJO? |
boolean |
isLazyPropertyLoadingAvailable()
|
Methods inherited from class org.hibernate.tuple.AbstractEntityTuplizer |
---|
afterInitialize, createProxy, getComponentValue, getEntityMetamodel, getEntityName, getFactory, getIdentifier, getInstantiator, getPropertyValuesToInsert, getProxyFactory, getSubclassEntityNames, getVersion, hasProxy, hasUninitializedLazyProperties, instantiate, instantiate, isInstance, isLifecycleImplementor, isValidatableImplementor, resetIdentifier, setIdentifier, setPropertyValue, setPropertyValue, setPropertyValues, shouldGetAllProperties, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetaObjectTuplizer(org.hibernate.tuple.EntityMetamodel entityMetamodel, org.hibernate.mapping.PersistentClass mappedEntity)
Method Detail |
---|
protected org.hibernate.EntityMode getEntityMode()
getEntityMode
in class org.hibernate.tuple.AbstractEntityTuplizer
protected org.hibernate.property.Getter buildPropertyGetter(org.hibernate.mapping.Property mappedProperty, org.hibernate.mapping.PersistentClass mappedEntity)
buildPropertyGetter
in class org.hibernate.tuple.AbstractEntityTuplizer
protected org.hibernate.property.Setter buildPropertySetter(org.hibernate.mapping.Property mappedProperty, org.hibernate.mapping.PersistentClass mappedEntity)
buildPropertySetter
in class org.hibernate.tuple.AbstractEntityTuplizer
protected org.hibernate.tuple.Instantiator buildInstantiator(org.hibernate.mapping.PersistentClass mappingInfo)
buildInstantiator
in class org.hibernate.tuple.AbstractEntityTuplizer
public java.lang.Object getPropertyValue(java.lang.Object entity, int i) throws org.hibernate.HibernateException
getPropertyValue
in interface org.hibernate.tuple.Tuplizer
getPropertyValue
in class org.hibernate.tuple.AbstractEntityTuplizer
org.hibernate.HibernateException
public java.lang.Object getPropertyValue(java.lang.Object entity, java.lang.String propertyName) throws org.hibernate.HibernateException
getPropertyValue
in interface org.hibernate.tuple.EntityTuplizer
getPropertyValue
in class org.hibernate.tuple.AbstractEntityTuplizer
org.hibernate.HibernateException
public java.lang.Object[] getPropertyValues(java.lang.Object entity) throws org.hibernate.HibernateException
getPropertyValues
in interface org.hibernate.tuple.Tuplizer
getPropertyValues
in class org.hibernate.tuple.AbstractEntityTuplizer
org.hibernate.HibernateException
protected org.hibernate.proxy.ProxyFactory buildProxyFactory(org.hibernate.mapping.PersistentClass mappingInfo, org.hibernate.property.Getter idGetter, org.hibernate.property.Setter idSetter)
buildProxyFactory
in class org.hibernate.tuple.AbstractEntityTuplizer
public java.lang.Class getConcreteProxyClass()
public boolean isLazyPropertyLoadingAvailable()
public java.lang.Class getMappedClass()
public boolean isInstrumented()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |