Interface Setter
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
EnhancedSetterImpl
,SetterFieldImpl
,SetterMethodImpl
public interface Setter extends java.io.Serializable
The contract for setting a persistent property value into its container/owner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.reflect.Method
getMethod()
Optional operation (may returnnull
)java.lang.String
getMethodName()
Optional operation (may returnnull
)void
set(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)
Set the property value from the given instance
-
-
-
Method Detail
-
set
void set(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)
Set the property value from the given instance- Parameters:
target
- The instance upon which to set the given value.value
- The value to be set on the target.factory
- The session factory from which this request originated.- Throws:
HibernateException
-
getMethodName
java.lang.String getMethodName()
Optional operation (may returnnull
)
-
getMethod
java.lang.reflect.Method getMethod()
Optional operation (may returnnull
)
-
-