Interface PropertyObjectResolver
-
- All Known Implementing Classes:
DocumentPropertyObjectResolverImpl
,PropertyObjectResolverImpl
public interface PropertyObjectResolver
Object to resolve entities referenced by a property. Works only on properties whose type has an object resolver.- Since:
- 7.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Object
fetch()
<T> T
fetch(Class<T> type)
default Object
fetch(Object context)
List<Class<?>>
getManagedClasses()
ObjectResolver
getObjectResolver()
Returns the underlyingObjectResolver
.void
setObject(Object object)
Gets a reference to the object and set the corresponding value to this property.boolean
validate()
default boolean
validate(Object context)
-
-
-
Method Detail
-
validate
boolean validate()
- Since:
- 7.1
-
validate
default boolean validate(Object context)
- Since:
- 10.2
-
fetch
Object fetch()
- Since:
- 7.1
-
fetch
<T> T fetch(Class<T> type)
- Since:
- 7.1
-
setObject
void setObject(Object object)
Gets a reference to the object and set the corresponding value to this property.ObjectResolver.fetch(Class, Object)
- Since:
- 7.1
-
getObjectResolver
ObjectResolver getObjectResolver()
Returns the underlyingObjectResolver
.- Since:
- 7.1
-
-