|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.tuple.component.AbstractComponentTuplizer org.hibernate.tuple.component.PojoComponentTuplizer
A ComponentTuplizer
specific to the pojo entity mode.
Field Summary |
Fields inherited from class org.hibernate.tuple.component.AbstractComponentTuplizer |
getters, hasCustomAccessors, instantiator, propertySpan, setters |
Constructor Summary | |
PojoComponentTuplizer(Component component)
|
Method Summary | |
protected Getter |
buildGetter(Component component,
Property prop)
|
protected Instantiator |
buildInstantiator(Component component)
|
protected Setter |
buildSetter(Component component,
Property prop)
|
Class |
getMappedClass()
Return the pojo class managed by this tuplizer. |
Object |
getParent(Object component)
Retreive the current value of the parent property. |
Object[] |
getPropertyValues(Object component)
Extract the current values contained on the given entity. |
boolean |
hasParentProperty()
Does the component managed by this tuuplizer contain a parent property? |
boolean |
isMethodOf(Method method)
Is the given method available via the managed component as a property getter? |
void |
setParent(Object component,
Object parent,
SessionFactoryImplementor factory)
Set the value of the parent property. |
void |
setPropertyValues(Object component,
Object[] values)
Inject the given values into the given entity. |
Methods inherited from class org.hibernate.tuple.component.AbstractComponentTuplizer |
getPropertyValue, instantiate, isInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PojoComponentTuplizer(Component component)
Method Detail |
public Class getMappedClass()
Tuplizer
public Object[] getPropertyValues(Object component) throws HibernateException
Tuplizer
getPropertyValues
in interface Tuplizer
getPropertyValues
in class AbstractComponentTuplizer
HibernateException
public void setPropertyValues(Object component, Object[] values) throws HibernateException
Tuplizer
setPropertyValues
in interface Tuplizer
setPropertyValues
in class AbstractComponentTuplizer
HibernateException
public Object getParent(Object component)
ComponentTuplizer
getParent
in interface ComponentTuplizer
getParent
in class AbstractComponentTuplizer
public boolean hasParentProperty()
ComponentTuplizer
hasParentProperty
in interface ComponentTuplizer
hasParentProperty
in class AbstractComponentTuplizer
public boolean isMethodOf(Method method)
ComponentTuplizer
isMethodOf
in interface ComponentTuplizer
isMethodOf
in class AbstractComponentTuplizer
public void setParent(Object component, Object parent, SessionFactoryImplementor factory)
ComponentTuplizer
setParent
in interface ComponentTuplizer
setParent
in class AbstractComponentTuplizer
protected Instantiator buildInstantiator(Component component)
buildInstantiator
in class AbstractComponentTuplizer
protected Getter buildGetter(Component component, Property prop)
buildGetter
in class AbstractComponentTuplizer
protected Setter buildSetter(Component component, Property prop)
buildSetter
in class AbstractComponentTuplizer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |