public class PropertyObjectResolverImpl extends Object implements PropertyObjectResolver
Modifier and Type | Field and Description |
---|---|
protected Property |
property |
protected ObjectResolver |
resolver |
Constructor and Description |
---|
PropertyObjectResolverImpl(Property property,
ObjectResolver resolver) |
Modifier and Type | Method and Description |
---|---|
Object |
fetch()
|
<T> T |
fetch(Class<T> type)
|
List<Class<?>> |
getManagedClasses()
|
ObjectResolver |
getObjectResolver()
Returns the underlying
ObjectResolver . |
void |
setObject(Object object)
Gets a reference to the object and set the corresponding value to this property.
|
boolean |
validate()
|
protected ObjectResolver resolver
public PropertyObjectResolverImpl(Property property, ObjectResolver resolver)
public List<Class<?>> getManagedClasses()
PropertyObjectResolver
getManagedClasses
in interface PropertyObjectResolver
public boolean validate()
PropertyObjectResolver
validate
in interface PropertyObjectResolver
public Object fetch()
PropertyObjectResolver
fetch
in interface PropertyObjectResolver
public <T> T fetch(Class<T> type)
PropertyObjectResolver
fetch
in interface PropertyObjectResolver
public void setObject(Object object)
PropertyObjectResolver
ObjectResolver.fetch(Class, Object)
setObject
in interface PropertyObjectResolver
public ObjectResolver getObjectResolver()
PropertyObjectResolver
ObjectResolver
.getObjectResolver
in interface PropertyObjectResolver
Copyright © 2018 Nuxeo. All rights reserved.