Class PropertyAccessStrategyBackRefImpl
- java.lang.Object
-
- org.hibernate.property.access.internal.PropertyAccessStrategyBackRefImpl
-
- All Implemented Interfaces:
PropertyAccessStrategy
public class PropertyAccessStrategyBackRefImpl extends Object implements PropertyAccessStrategy
-
-
Field Summary
Fields Modifier and Type Field Description static Serializable
UNKNOWN
A placeholder for a property value, indicating that we don't know the value of the back reference
-
Constructor Summary
Constructors Constructor Description PropertyAccessStrategyBackRefImpl(String collectionRole, String entityName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyAccess
buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired)
Build aPropertyAccess
for the indicated property
-
-
-
Field Detail
-
UNKNOWN
public static final Serializable UNKNOWN
A placeholder for a property value, indicating that we don't know the value of the back reference
-
-
Method Detail
-
buildPropertyAccess
public PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired)
Description copied from interface:PropertyAccessStrategy
Build aPropertyAccess
for the indicated property- Specified by:
buildPropertyAccess
in interfacePropertyAccessStrategy
- Parameters:
containerJavaType
- The Java type that contains the property; may benull
for non-pojo cases.propertyName
- The property namesetterRequired
- Whether it is an error if we are unable to find a corresponding setter- Returns:
- The appropriate PropertyAccess
-
-