Class PropertyAccessCompositeUserTypeImpl
java.lang.Object
org.hibernate.property.access.internal.PropertyAccessCompositeUserTypeImpl
- All Implemented Interfaces:
Serializable
,Getter
,PropertyAccess
PropertyAccess
for accessing the wrapped property via get/set pair, which may be nonpublic.-
Constructor Summary
ConstructorsConstructorDescriptionPropertyAccessCompositeUserTypeImpl
(PropertyAccessStrategyCompositeUserTypeImpl strategy, String property) -
Method Summary
Modifier and TypeMethodDescription@Nullable Object
Get the property value from the given owner instance.@Nullable Object
getForInsert
(Object owner, Map mergeMap, SharedSessionContractImplementor session) Get the property value from the given owner instance.Obtain the delegate for getting values of the persistent attribute.@Nullable Member
Retrieve the member to which this property maps.@Nullable Method
Retrieve the getter-method.@Nullable String
Retrieve the getter-method name.Access to thePropertyAccessStrategy
that created this instance.Retrieve the declared Java typeClass<?>
Retrieve the declared Java type class@Nullable Setter
Obtain the delegate for setting values of the persistent attribute.
-
Constructor Details
-
PropertyAccessCompositeUserTypeImpl
public PropertyAccessCompositeUserTypeImpl(PropertyAccessStrategyCompositeUserTypeImpl strategy, String property)
-
-
Method Details
-
getPropertyAccessStrategy
Description copied from interface:PropertyAccess
Access to thePropertyAccessStrategy
that created this instance.- Specified by:
getPropertyAccessStrategy
in interfacePropertyAccess
- Returns:
- The
PropertyAccessStrategy
-
getGetter
Description copied from interface:PropertyAccess
Obtain the delegate for getting values of the persistent attribute.- Specified by:
getGetter
in interfacePropertyAccess
- Returns:
- The property getter
-
getSetter
Description copied from interface:PropertyAccess
Obtain the delegate for setting values of the persistent attribute.- Specified by:
getSetter
in interfacePropertyAccess
- Returns:
- The property setter
-
get
Description copied from interface:Getter
Get the property value from the given owner instance. -
getReturnTypeClass
Description copied from interface:Getter
Retrieve the declared Java type class- Specified by:
getReturnTypeClass
in interfaceGetter
- Returns:
- The declared java type class.
-
getReturnType
Description copied from interface:Getter
Retrieve the declared Java type- Specified by:
getReturnType
in interfaceGetter
- Returns:
- The declared java type.
-
getMember
Description copied from interface:Getter
Retrieve the member to which this property maps. This might be the field or it might be the getter method.Optional operation (may return
null
) -
getMethodName
Description copied from interface:Getter
Retrieve the getter-method name.Optional operation (may return
null
)- Specified by:
getMethodName
in interfaceGetter
- Returns:
- The name of the getter method, or
null
.
-
getMethod
Description copied from interface:Getter
Retrieve the getter-method.Optional operation (may return
null
)
-