public interface ComponentTuplizer extends Tuplizer, Serializable
| Type | Property and Description | 
|---|---|
boolean | 
hasParent
Does the component managed by this tuuplizer contain a parent property? 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
getParent(Object component)
Retrieve the current value of the parent property. 
 | 
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. 
 | 
getGetter, getMappedClass, getPropertyValue, getPropertyValues, instantiate, isInstance, setPropertyValuesboolean hasParentProperty
Object getParent(Object component)
component - The component instance from which to extract the parent
 property value.void setParent(Object component, 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(Method method)
method - The method which to check against the managed component.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.