public class CouchbaseDocumentPropertyAccessor extends MapAccessor
| Constructor and Description |
|---|
CouchbaseDocumentPropertyAccessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(EvaluationContext context,
Object target,
String name)
It can always read from those properties.
|
Class<?>[] |
getSpecificTargetClasses()
Returns the target classes of the properties.
|
TypedValue |
read(EvaluationContext context,
Object target,
String name)
Read the value from the property.
|
canWrite, writepublic Class<?>[] getSpecificTargetClasses()
getSpecificTargetClasses in interface PropertyAccessorgetSpecificTargetClasses in class MapAccessorpublic boolean canRead(EvaluationContext context, Object target, String name)
canRead in interface PropertyAccessorcanRead in class MapAccessorcontext - the evaluation context.target - the target object.name - the name of the property.public TypedValue read(EvaluationContext context, Object target, String name)
read in interface PropertyAccessorread in class MapAccessorcontext - the evaluation context.target - the target object.name - the name of the property.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.