类 PropertyAccessMixedImpl
- java.lang.Object
-
- org.hibernate.property.access.internal.PropertyAccessMixedImpl
-
- 所有已实现的接口:
PropertyAccess
- 直接已知子类:
PropertyAccessEnhancedImpl
public class PropertyAccessMixedImpl extends Object implements PropertyAccess
A PropertyAccess based on mix of getter/setter method and/or field.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 PropertyAccessMixedImpl(PropertyAccessStrategy strategy, Class containerJavaType, String propertyName)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected GetterfieldGetter(Class<?> containerJavaType, String propertyName, Field field)protected static FieldfieldOrNull(Class containerJavaType, String propertyName)protected SetterfieldSetter(Class<?> containerJavaType, String propertyName, Field field)protected static javax.persistence.AccessTypegetAccessType(Class<?> containerJavaType, String propertyName)GettergetGetter()Obtain the delegate for getting values for the described persistent propertyPropertyAccessStrategygetPropertyAccessStrategy()Access to the PropertyAccessStrategy that created this PropertyAccessSettergetSetter()Obtain the delegate for setting values for the described persistent propertyprotected GetterpropertyGetter(Class<?> containerJavaType, String propertyName, Method method)protected SetterpropertySetter(Class<?> containerJavaType, String propertyName, Method method)
-
-
-
构造器详细资料
-
PropertyAccessMixedImpl
public PropertyAccessMixedImpl(PropertyAccessStrategy strategy, Class containerJavaType, String propertyName)
-
-
方法详细资料
-
getAccessType
protected static javax.persistence.AccessType getAccessType(Class<?> containerJavaType, String propertyName)
-
fieldGetter
protected Getter fieldGetter(Class<?> containerJavaType, String propertyName, Field field)
-
fieldSetter
protected Setter fieldSetter(Class<?> containerJavaType, String propertyName, Field field)
-
propertyGetter
protected Getter propertyGetter(Class<?> containerJavaType, String propertyName, Method method)
-
propertySetter
protected Setter propertySetter(Class<?> containerJavaType, String propertyName, Method method)
-
getPropertyAccessStrategy
public PropertyAccessStrategy getPropertyAccessStrategy()
从接口复制的说明:PropertyAccessAccess to the PropertyAccessStrategy that created this PropertyAccess- 指定者:
getPropertyAccessStrategy在接口中PropertyAccess- 返回:
- The PropertyAccessStrategy that created this PropertyAccess
-
getGetter
public Getter getGetter()
从接口复制的说明:PropertyAccessObtain the delegate for getting values for the described persistent property- 指定者:
getGetter在接口中PropertyAccess- 返回:
- The property getter
-
getSetter
public Setter getSetter()
从接口复制的说明:PropertyAccessObtain the delegate for setting values for the described persistent property- 指定者:
getSetter在接口中PropertyAccess- 返回:
- The property setter
-
-