Class PropertyObjectResolverImpl
- java.lang.Object
-
- org.nuxeo.ecm.core.api.model.resolver.PropertyObjectResolverImpl
-
- All Implemented Interfaces:
PropertyObjectResolver
public class PropertyObjectResolverImpl extends Object implements PropertyObjectResolver
- Since:
- 7.1
-
-
Field Summary
Fields Modifier and Type Field Description protected Property
property
protected ObjectResolver
resolver
-
Constructor Summary
Constructors Constructor Description PropertyObjectResolverImpl(Property property, ObjectResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
fetch()
<T> T
fetch(Class<T> type)
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()
boolean
validate(Object context)
-
-
-
Field Detail
-
property
protected Property property
-
resolver
protected ObjectResolver resolver
-
-
Constructor Detail
-
PropertyObjectResolverImpl
public PropertyObjectResolverImpl(Property property, ObjectResolver resolver)
-
-
Method Detail
-
getManagedClasses
public List<Class<?>> getManagedClasses()
Description copied from interface:PropertyObjectResolver
- Specified by:
getManagedClasses
in interfacePropertyObjectResolver
-
validate
public boolean validate()
Description copied from interface:PropertyObjectResolver
- Specified by:
validate
in interfacePropertyObjectResolver
-
validate
public boolean validate(Object context)
Description copied from interface:PropertyObjectResolver
- Specified by:
validate
in interfacePropertyObjectResolver
-
fetch
public Object fetch()
Description copied from interface:PropertyObjectResolver
- Specified by:
fetch
in interfacePropertyObjectResolver
-
fetch
public Object fetch(Object context)
Description copied from interface:PropertyObjectResolver
- Specified by:
fetch
in interfacePropertyObjectResolver
-
fetch
public <T> T fetch(Class<T> type)
Description copied from interface:PropertyObjectResolver
- Specified by:
fetch
in interfacePropertyObjectResolver
-
setObject
public void setObject(Object object)
Description copied from interface:PropertyObjectResolver
Gets a reference to the object and set the corresponding value to this property.ObjectResolver.fetch(Class, Object)
- Specified by:
setObject
in interfacePropertyObjectResolver
-
getObjectResolver
public ObjectResolver getObjectResolver()
Description copied from interface:PropertyObjectResolver
Returns the underlyingObjectResolver
.- Specified by:
getObjectResolver
in interfacePropertyObjectResolver
-
-