public interface

ComponentTuplizer

implements Serializable Tuplizer
org.hibernate.tuple.component.ComponentTuplizer
Known Indirect Subclasses

Class Overview

Defines further responsibilities regarding tuplization based on a mapped components.

ComponentTuplizer implementations should have the following constructor signature: (org.hibernate.mapping.Component)

Summary

Public Methods
abstract Object getParent(Object component)
Retreive the current value of the parent property.
abstract boolean hasParentProperty()
Does the component managed by this tuuplizer contain a parent property?
abstract boolean isMethodOf(Method method)
Is the given method available via the managed component as a property getter?
abstract void setParent(Object component, Object parent, SessionFactoryImplementor factory)
Set the value of the parent property.
[Expand]
Inherited Methods
From interface org.hibernate.tuple.Tuplizer

Public Methods

public abstract Object getParent (Object component)

Retreive the current value of the parent property.

Parameters
component The component instance from which to extract the parent property value.
Returns
  • The current value of the parent property.

public abstract boolean hasParentProperty ()

Does the component managed by this tuuplizer contain a parent property?

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

public abstract boolean isMethodOf (Method method)

Is the given method available via the managed component as a property getter?

Parameters
method The method which to check against the managed component.
Returns
  • True if the managed component is available from the managed component; else false.

public abstract void setParent (Object component, Object parent, SessionFactoryImplementor factory)

Set the value of the parent property.

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