Class SetterFieldImpl
- java.lang.Object
-
- org.hibernate.property.access.spi.SetterFieldImpl
-
- All Implemented Interfaces:
java.io.Serializable,Setter
- Direct Known Subclasses:
EnhancedSetterImpl
public class SetterFieldImpl extends java.lang.Object implements Setter
Field-based implementation of Setter- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetterFieldImpl(java.lang.Class containerClass, java.lang.String propertyName, java.lang.reflect.Field field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetContainerClass()protected java.lang.reflect.FieldgetField()java.lang.reflect.MethodgetMethod()Optional operation (may returnnull)java.lang.StringgetMethodName()Optional operation (may returnnull)java.lang.StringgetPropertyName()voidset(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)Set the property value from the given instance
-
-
-
Method Detail
-
getContainerClass
public java.lang.Class getContainerClass()
-
getPropertyName
public java.lang.String getPropertyName()
-
getField
protected java.lang.reflect.Field getField()
-
set
public void set(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)Description copied from interface:SetterSet the property value from the given instance
-
getMethodName
public java.lang.String getMethodName()
Description copied from interface:SetterOptional operation (may returnnull)- Specified by:
getMethodNamein interfaceSetter
-
-