FileDocCategorySizeDatePackage
ComponentTuplizer.javaAPI DocHibernate 3.2.51810Thu Jul 13 19:09:20 BST 2006org.hibernate.tuple.component

ComponentTuplizer

public interface ComponentTuplizer implements Serializable, org.hibernate.tuple.Tuplizer
Defines further responsibilities reagarding tuplization based on a mapped components.

ComponentTuplizer implementations should have the following constructor signature: (org.hibernate.mapping.Component)
author
Gavin King
author
Steve Ebersole

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectgetParent(java.lang.Object component)
Retreive the current value of the parent property.

param
component The component instance from which to extract the parent property value.
return
The current value of the parent property.

public booleanhasParentProperty()
Does the component managed by this tuuplizer contain a parent property?

return
True if the component does contain a parent property; false otherwise.

public booleanisMethodOf(java.lang.reflect.Method method)
Is the given method available via the managed component as a property getter?

param
method The method which to check against the managed component.
return
True if the managed component is available from the managed component; else false.

public voidsetParent(java.lang.Object component, java.lang.Object parent, org.hibernate.engine.SessionFactoryImplementor factory)
Set the value of the parent property.

param
component The component instance on which to set the parent.
param
parent The parent to be set on the comonent.
param
factory The current session factory.