|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.tuple.entity.AbstractEntityTuplizer org.hibernate.tuple.entity.Dom4jEntityTuplizer
An EntityTuplizer
specific to the dom4j entity mode.
Field Summary |
Fields inherited from class org.hibernate.tuple.entity.AbstractEntityTuplizer |
getters, hasCustomAccessors, propertySpan, setters |
Method Summary | |
protected Instantiator |
buildInstantiator(PersistentClass persistentClass)
Build an appropriate Instantiator for the given mapped entity. |
protected Getter |
buildPropertyGetter(Property mappedProperty,
PersistentClass mappedEntity)
Build an appropriate Getter for the given property. |
protected Setter |
buildPropertySetter(Property mappedProperty,
PersistentClass mappedEntity)
Build an appropriate Setter for the given property. |
protected ProxyFactory |
buildProxyFactory(PersistentClass mappingInfo,
Getter idGetter,
Setter idSetter)
Build an appropriate ProxyFactory for the given mapped entity. |
Class |
getConcreteProxyClass()
Returns the java class to which generated proxies will be typed. |
EntityMode |
getEntityMode()
Return the entity-mode handled by this tuplizer instance. |
Serializable |
getIdentifier(Object entityOrId)
Extract the identifier value from the given entity. |
Class |
getMappedClass()
Return the pojo class managed by this tuplizer. |
boolean |
isInstrumented()
Is it an instrumented POJO? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public EntityMode getEntityMode()
AbstractEntityTuplizer
getEntityMode
in class AbstractEntityTuplizer
protected Getter buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)
AbstractEntityTuplizer
buildPropertyGetter
in class AbstractEntityTuplizer
mappedProperty
- The property to be accessed via the built Getter.mappedEntity
- The entity information regarding the mapped entity owning this property.
protected Setter buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)
AbstractEntityTuplizer
buildPropertySetter
in class AbstractEntityTuplizer
mappedProperty
- The property to be accessed via the built Setter.mappedEntity
- The entity information regarding the mapped entity owning this property.
protected Instantiator buildInstantiator(PersistentClass persistentClass)
AbstractEntityTuplizer
buildInstantiator
in class AbstractEntityTuplizer
persistentClass
- The mapping information regarding the mapped entity.
public Serializable getIdentifier(Object entityOrId) throws HibernateException
EntityTuplizer
getIdentifier
in interface EntityTuplizer
getIdentifier
in class AbstractEntityTuplizer
HibernateException
protected ProxyFactory buildProxyFactory(PersistentClass mappingInfo, Getter idGetter, Setter idSetter)
AbstractEntityTuplizer
buildProxyFactory
in class AbstractEntityTuplizer
mappingInfo
- The mapping information regarding the mapped entity.idGetter
- The constructed Getter relating to the entity's id property.idSetter
- The constructed Setter relating to the entity's id property.
public Class getMappedClass()
Tuplizer
public Class getConcreteProxyClass()
EntityTuplizer
public boolean isInstrumented()
EntityTuplizer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |