Package io.jmix.dynmodel.impl
Class SpelDynamicCalculatedAttributeEvaluator.EntityPropertyAccessor
java.lang.Object
io.jmix.dynmodel.impl.SpelDynamicCalculatedAttributeEvaluator.EntityPropertyAccessor
- All Implemented Interfaces:
org.springframework.expression.PropertyAccessor,org.springframework.expression.TargetedAccessor
- Enclosing class:
SpelDynamicCalculatedAttributeEvaluator
protected static class SpelDynamicCalculatedAttributeEvaluator.EntityPropertyAccessor
extends Object
implements org.springframework.expression.PropertyAccessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRead(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) booleancanWrite(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) Class<?>[]org.springframework.expression.TypedValueread(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) voidwrite(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name, @Nullable Object newValue)
-
Field Details
-
metadata
-
-
Constructor Details
-
EntityPropertyAccessor
-
-
Method Details
-
getSpecificTargetClasses
- Specified by:
getSpecificTargetClassesin interfaceorg.springframework.expression.TargetedAccessor
-
canRead
public boolean canRead(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) - Specified by:
canReadin interfaceorg.springframework.expression.PropertyAccessor
-
read
public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) - Specified by:
readin interfaceorg.springframework.expression.PropertyAccessor
-
canWrite
public boolean canWrite(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name) - Specified by:
canWritein interfaceorg.springframework.expression.PropertyAccessor
-
write
public void write(org.springframework.expression.EvaluationContext context, @Nullable Object target, String name, @Nullable Object newValue) throws org.springframework.expression.AccessException - Specified by:
writein interfaceorg.springframework.expression.PropertyAccessor- Throws:
org.springframework.expression.AccessException
-