|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentTuplizer
Defines further responsibilities reagarding tuplization based on a mapped components.
ComponentTuplizer implementations should have the following constructor signature: (org.hibernate.mapping.Component)
Method Summary | |
---|---|
java.lang.Object |
getParent(java.lang.Object component)
Retreive the current value of the parent property. |
boolean |
hasParentProperty()
Does the component managed by this tuuplizer contain a parent property? |
boolean |
isMethodOf(java.lang.reflect.Method method)
Is the given method available via the managed component as a property getter? |
void |
setParent(java.lang.Object component,
java.lang.Object parent,
SessionFactoryImplementor factory)
Set the value of the parent property. |
Methods inherited from interface org.hibernate.tuple.Tuplizer |
---|
getMappedClass, getPropertyValue, getPropertyValues, instantiate, isInstance, setPropertyValues |
Method Detail |
---|
java.lang.Object getParent(java.lang.Object component)
component
- The component instance from which to extract the parent
property value.
void setParent(java.lang.Object component, java.lang.Object parent, SessionFactoryImplementor factory)
component
- The component instance on which to set the parent.parent
- The parent to be set on the comonent.factory
- The current session factory.boolean hasParentProperty()
boolean isMethodOf(java.lang.reflect.Method method)
method
- The method which to check against the managed component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |